@@ -4591,6 +4591,14 @@ SELECT * FROM pg_attribute
4591
4591
<primary>trigger</primary>
4592
4592
</indexterm>
4593
4593
4594
+ <indexterm zone="datatype-pseudo">
4595
+ <primary>event_trigger</primary>
4596
+ </indexterm>
4597
+
4598
+ <indexterm zone="datatype-pseudo">
4599
+ <primary>pg_ddl_command</primary>
4600
+ </indexterm>
4601
+
4594
4602
<indexterm zone="datatype-pseudo">
4595
4603
<primary>language_handler</primary>
4596
4604
</indexterm>
@@ -4704,14 +4712,24 @@ SELECT * FROM pg_attribute
4704
4712
4705
4713
<row>
4706
4714
<entry><type>record</></entry>
4707
- <entry>Identifies a function returning an unspecified row type.</entry>
4715
+ <entry>Identifies a function taking or returning an unspecified row type.</entry>
4708
4716
</row>
4709
4717
4710
4718
<row>
4711
4719
<entry><type>trigger</></entry>
4712
4720
<entry>A trigger function is declared to return <type>trigger.</></entry>
4713
4721
</row>
4714
4722
4723
+ <row>
4724
+ <entry><type>event_trigger</></entry>
4725
+ <entry>An event trigger function is declared to return <type>event_trigger.</></entry>
4726
+ </row>
4727
+
4728
+ <row>
4729
+ <entry><type>pg_ddl_command</></entry>
4730
+ <entry>Identifies a represention of DDL commands that is available to event triggers.</entry>
4731
+ </row>
4732
+
4715
4733
<row>
4716
4734
<entry><type>void</></entry>
4717
4735
<entry>Indicates that a function returns no value.</entry>
@@ -4734,10 +4752,11 @@ SELECT * FROM pg_attribute
4734
4752
4735
4753
<para>
4736
4754
Functions coded in procedural languages can use pseudo-types only as
4737
- allowed by their implementation languages. At present the procedural
4738
- languages all forbid use of a pseudo-type as argument type, and allow
4755
+ allowed by their implementation languages. At present most procedural
4756
+ languages forbid use of a pseudo-type as an argument type, and allow
4739
4757
only <type>void</> and <type>record</> as a result type (plus
4740
- <type>trigger</> when the function is used as a trigger). Some also
4758
+ <type>trigger</> or <type>event_trigger</> when the function is used
4759
+ as a trigger or event trigger). Some also
4741
4760
support polymorphic functions using the types <type>anyelement</>,
4742
4761
<type>anyarray</>, <type>anynonarray</>, <type>anyenum</>, and
4743
4762
<type>anyrange</>.
0 commit comments