@@ -4616,6 +4616,14 @@ SELECT * FROM pg_attribute
46164616 <primary>trigger</primary>
46174617 </indexterm>
46184618
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+
46194627 <indexterm zone="datatype-pseudo">
46204628 <primary>language_handler</primary>
46214629 </indexterm>
@@ -4729,14 +4737,24 @@ SELECT * FROM pg_attribute
47294737
47304738 <row>
47314739 <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>
47334741 </row>
47344742
47354743 <row>
47364744 <entry><type>trigger</></entry>
47374745 <entry>A trigger function is declared to return <type>trigger.</></entry>
47384746 </row>
47394747
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+
47404758 <row>
47414759 <entry><type>void</></entry>
47424760 <entry>Indicates that a function returns no value.</entry>
@@ -4759,10 +4777,11 @@ SELECT * FROM pg_attribute
47594777
47604778 <para>
47614779 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
47644782 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
47664785 support polymorphic functions using the types <type>anyelement</>,
47674786 <type>anyarray</>, <type>anynonarray</>, <type>anyenum</>, and
47684787 <type>anyrange</>.
0 commit comments