@@ -4561,6 +4561,10 @@ SELECT * FROM pg_attribute
4561
4561
<primary>trigger</primary>
4562
4562
</indexterm>
4563
4563
4564
+ <indexterm zone="datatype-pseudo">
4565
+ <primary>event_trigger</primary>
4566
+ </indexterm>
4567
+
4564
4568
<indexterm zone="datatype-pseudo">
4565
4569
<primary>language_handler</primary>
4566
4570
</indexterm>
@@ -4665,14 +4669,19 @@ SELECT * FROM pg_attribute
4665
4669
4666
4670
<row>
4667
4671
<entry><type>record</></entry>
4668
- <entry>Identifies a function returning an unspecified row type.</entry>
4672
+ <entry>Identifies a function taking or returning an unspecified row type.</entry>
4669
4673
</row>
4670
4674
4671
4675
<row>
4672
4676
<entry><type>trigger</></entry>
4673
4677
<entry>A trigger function is declared to return <type>trigger.</></entry>
4674
4678
</row>
4675
4679
4680
+ <row>
4681
+ <entry><type>event_trigger</></entry>
4682
+ <entry>An event trigger function is declared to return <type>event_trigger.</></entry>
4683
+ </row>
4684
+
4676
4685
<row>
4677
4686
<entry><type>void</></entry>
4678
4687
<entry>Indicates that a function returns no value.</entry>
@@ -4695,10 +4704,11 @@ SELECT * FROM pg_attribute
4695
4704
4696
4705
<para>
4697
4706
Functions coded in procedural languages can use pseudo-types only as
4698
- allowed by their implementation languages. At present the procedural
4699
- languages all forbid use of a pseudo-type as argument type, and allow
4707
+ allowed by their implementation languages. At present most procedural
4708
+ languages forbid use of a pseudo-type as an argument type, and allow
4700
4709
only <type>void</> and <type>record</> as a result type (plus
4701
- <type>trigger</> when the function is used as a trigger). Some also
4710
+ <type>trigger</> or <type>event_trigger</> when the function is used
4711
+ as a trigger or event trigger). Some also
4702
4712
support polymorphic functions using the types <type>anyelement</>,
4703
4713
<type>anyarray</>, <type>anynonarray</>, <type>anyenum</>, and
4704
4714
<type>anyrange</>.
0 commit comments