@@ -4616,6 +4616,14 @@ SELECT * FROM pg_attribute
4616
4616
<primary>trigger</primary>
4617
4617
</indexterm>
4618
4618
4619
+ <indexterm zone="datatype-pseudo">
4620
+ <primary>event_trigger</primary>
4621
+ </indexterm>
4622
+
4623
+ <indexterm zone="datatype-pseudo">
4624
+ <primary>pg_ddl_command</primary>
4625
+ </indexterm>
4626
+
4619
4627
<indexterm zone="datatype-pseudo">
4620
4628
<primary>language_handler</primary>
4621
4629
</indexterm>
@@ -4729,14 +4737,24 @@ SELECT * FROM pg_attribute
4729
4737
4730
4738
<row>
4731
4739
<entry><type>record</></entry>
4732
- <entry>Identifies a function returning an unspecified row type.</entry>
4740
+ <entry>Identifies a function taking or returning an unspecified row type.</entry>
4733
4741
</row>
4734
4742
4735
4743
<row>
4736
4744
<entry><type>trigger</></entry>
4737
4745
<entry>A trigger function is declared to return <type>trigger.</></entry>
4738
4746
</row>
4739
4747
4748
+ <row>
4749
+ <entry><type>event_trigger</></entry>
4750
+ <entry>An event trigger function is declared to return <type>event_trigger.</></entry>
4751
+ </row>
4752
+
4753
+ <row>
4754
+ <entry><type>pg_ddl_command</></entry>
4755
+ <entry>Identifies a represention of DDL commands that is available to event triggers.</entry>
4756
+ </row>
4757
+
4740
4758
<row>
4741
4759
<entry><type>void</></entry>
4742
4760
<entry>Indicates that a function returns no value.</entry>
@@ -4759,10 +4777,11 @@ SELECT * FROM pg_attribute
4759
4777
4760
4778
<para>
4761
4779
Functions coded in procedural languages can use pseudo-types only as
4762
- allowed by their implementation languages. At present the procedural
4763
- languages all forbid use of a pseudo-type as argument type, and allow
4780
+ allowed by their implementation languages. At present most procedural
4781
+ languages forbid use of a pseudo-type as an argument type, and allow
4764
4782
only <type>void</> and <type>record</> as a result type (plus
4765
- <type>trigger</> when the function is used as a trigger). Some also
4783
+ <type>trigger</> or <type>event_trigger</> when the function is used
4784
+ as a trigger or event trigger). Some also
4766
4785
support polymorphic functions using the types <type>anyelement</>,
4767
4786
<type>anyarray</>, <type>anynonarray</>, <type>anyenum</>, and
4768
4787
<type>anyrange</>.
0 commit comments