From: Bruce Momjian Date: Wed, 7 Sep 2011 13:24:02 +0000 (-0400) Subject: Revert documentation patch about NEW/OLD and triggers. X-Git-Tag: REL9_1_0~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d5d94e16011a4fbb52de13a3d1ca326ad0c4ff36;p=thirdparty%2Fpostgresql.git Revert documentation patch about NEW/OLD and triggers. Backpatch to 9.0 and 9.1. Patch from Josh Kupershmidt. --- diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml index d82a003fe94..0a9d71ef41a 100644 --- a/doc/src/sgml/plpgsql.sgml +++ b/doc/src/sgml/plpgsql.sgml @@ -3282,8 +3282,8 @@ RAISE unique_violation USING MESSAGE = 'Duplicate user ID: ' || user_id; Data type RECORD; variable holding the new database row for INSERT/UPDATE operations in row-level - triggers. This variable is not defined in statement-level triggers - or DELETE operations. + triggers. This variable is NULL in statement-level triggers + and for DELETE operations. @@ -3294,8 +3294,8 @@ RAISE unique_violation USING MESSAGE = 'Duplicate user ID: ' || user_id; Data type RECORD; variable holding the old database row for UPDATE/DELETE operations in row-level - triggers. This variable is not defined in statement-level triggers - or INSERT operations. + triggers. This variable is NULL in statement-level triggers + and for INSERT operations.