From e4d59f35366964298b0c9d4847f0a7efd3ddf830 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 6 Sep 2011 22:54:18 -0400 Subject: [PATCH] Properly document the existance of OLD/NEW trigger pl/pgsql trigger fields. Backpatch to 9.0 and 9.1. Report from Pavel Stehule, 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 0a9d71ef41..d82a003fe9 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 NULL in statement-level triggers - and for DELETE operations. + triggers. This variable is not defined in statement-level triggers + or 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 NULL in statement-level triggers - and for INSERT operations. + triggers. This variable is not defined in statement-level triggers + or INSERT operations. -- 2.40.0