From 8eacb25cbe9100b9cf441d4cbca4cec8fa5e3f52 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Wed, 7 Sep 2011 09:24:01 -0400
Subject: [PATCH] Revert documentation patch about NEW/OLD and triggers.

Backpatch to 9.0 and 9.1.

Patch from Josh Kupershmidt.
---
 doc/src/sgml/plpgsql.sgml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml
index 0deca0988be..d9b4e615e09 100644
--- a/doc/src/sgml/plpgsql.sgml
+++ b/doc/src/sgml/plpgsql.sgml
@@ -3373,8 +3373,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>
@@ -3385,8 +3385,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>
-- 
GitLab