@@ -4525,6 +4525,10 @@ SELECT * FROM pg_attribute
4525
4525
<primary>trigger</primary>
4526
4526
</indexterm>
4527
4527
4528
+ <indexterm zone="datatype-pseudo">
4529
+ <primary>event_trigger</primary>
4530
+ </indexterm>
4531
+
4528
4532
<indexterm zone="datatype-pseudo">
4529
4533
<primary>language_handler</primary>
4530
4534
</indexterm>
@@ -4629,14 +4633,19 @@ SELECT * FROM pg_attribute
4629
4633
4630
4634
<row>
4631
4635
<entry><type>record</></entry>
4632
- <entry>Identifies a function returning an unspecified row type.</entry>
4636
+ <entry>Identifies a function taking or returning an unspecified row type.</entry>
4633
4637
</row>
4634
4638
4635
4639
<row>
4636
4640
<entry><type>trigger</></entry>
4637
4641
<entry>A trigger function is declared to return <type>trigger.</></entry>
4638
4642
</row>
4639
4643
4644
+ <row>
4645
+ <entry><type>event_trigger</></entry>
4646
+ <entry>An event trigger function is declared to return <type>event_trigger.</></entry>
4647
+ </row>
4648
+
4640
4649
<row>
4641
4650
<entry><type>void</></entry>
4642
4651
<entry>Indicates that a function returns no value.</entry>
@@ -4659,10 +4668,11 @@ SELECT * FROM pg_attribute
4659
4668
4660
4669
<para>
4661
4670
Functions coded in procedural languages can use pseudo-types only as
4662
- allowed by their implementation languages. At present the procedural
4663
- languages all forbid use of a pseudo-type as argument type, and allow
4671
+ allowed by their implementation languages. At present most procedural
4672
+ languages forbid use of a pseudo-type as an argument type, and allow
4664
4673
only <type>void</> and <type>record</> as a result type (plus
4665
- <type>trigger</> when the function is used as a trigger). Some also
4674
+ <type>trigger</> or <type>event_trigger</> when the function is used
4675
+ as a trigger or event trigger). Some also
4666
4676
support polymorphic functions using the types <type>anyelement</>,
4667
4677
<type>anyarray</>, <type>anynonarray</>, <type>anyenum</>, and
4668
4678
<type>anyrange</>.
0 commit comments