]> granicus.if.org Git - postgresql/commitdiff
Revert documentation patch about NEW/OLD and triggers.
authorBruce Momjian <bruce@momjian.us>
Wed, 7 Sep 2011 13:24:02 +0000 (09:24 -0400)
committerBruce Momjian <bruce@momjian.us>
Wed, 7 Sep 2011 13:24:02 +0000 (09:24 -0400)
Backpatch to 9.0 and 9.1.

Patch from Josh Kupershmidt.

doc/src/sgml/plpgsql.sgml

index d82a003fe94ad28bccb035681096ddd4ed9ac857..0a9d71ef41a5f079274c30b4236fbd412d2991db 100644 (file)
@@ -3282,8 +3282,8 @@ RAISE unique_violation USING MESSAGE = 'Duplicate user ID: ' || user_id;
       <para>
        Data type <type>RECORD</type>; variable holding the new
        database row for <command>INSERT</>/<command>UPDATE</> operations in row-level
-       triggers. This variable is not defined in statement-level triggers
-       or <command>DELETE</command> operations.
+       triggers. This variable is <symbol>NULL</symbol> in statement-level triggers
+       and for <command>DELETE</command> operations.
       </para>
      </listitem>
     </varlistentry>
@@ -3294,8 +3294,8 @@ RAISE unique_violation USING MESSAGE = 'Duplicate user ID: ' || user_id;
       <para>
        Data type <type>RECORD</type>; variable holding the old
        database row for <command>UPDATE</>/<command>DELETE</> operations in row-level
-       triggers. This variable is not defined in statement-level triggers
-       or <command>INSERT</command> operations.
+       triggers. This variable is <symbol>NULL</symbol> in statement-level triggers
+       and for <command>INSERT</command> operations.
       </para>
      </listitem>
     </varlistentry>