]> granicus.if.org Git - postgresql/commitdiff
doc: Add more compatibility information for triggers
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 23 Feb 2013 05:28:33 +0000 (00:28 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Sat, 23 Feb 2013 05:28:33 +0000 (00:28 -0500)
Louis-Claude Canon and Josh Kupershmidt

doc/src/sgml/ref/create_trigger.sgml

index 0f87b1fc96d3971b070b4fbda8ee1c752614bb88..d9817e4a9e187aabbe569060ea93f7d5527293b7 100644 (file)
@@ -484,7 +484,8 @@ CREATE TRIGGER view_insert
   <para>
    The <command>CREATE TRIGGER</command> statement in
    <productname>PostgreSQL</productname> implements a subset of the
-   <acronym>SQL</> standard. The following functionality is currently missing:
+   <acronym>SQL</> standard. The following functionalities are currently
+   missing:
 
    <itemizedlist>
     <listitem>
@@ -500,6 +501,16 @@ CREATE TRIGGER view_insert
      </para>
     </listitem>
 
+    <listitem>
+     <para>
+      <productname>PostgreSQL</productname> does not allow the old and new
+      tables to be referenced in statement-level triggers, i.e., the tables
+      that contain all the old and/or new rows, which are referred to by the
+      <literal>OLD TABLE</literal> and <literal>NEW TABLE</literal> clauses in
+      the <acronym>SQL</> standard.
+     </para>
+    </listitem>
+
     <listitem>
      <para><productname>PostgreSQL</productname> only allows the execution
       of a user-defined function for the triggered action.  The standard