From: Bruce Momjian Date: Wed, 24 Sep 2008 19:51:22 +0000 (+0000) Subject: Add documentation about when trigger values NEW/OLD return NULL. X-Git-Tag: recoveryinfrav9~609 X-Git-Url: http://waps.l3s.uni-hannover.de/gitweb/?a=commitdiff_plain;h=6e907e068aa038cf6c455c5f2c42cbd5bdcf35d4;p=users%2Fsimon%2Fpostgres.git Add documentation about when trigger values NEW/OLD return NULL. Jeff Davis --- diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml index 9b2e2e9402..bdc16dbacf 100644 --- a/doc/src/sgml/plpgsql.sgml +++ b/doc/src/sgml/plpgsql.sgml @@ -3036,7 +3036,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. + triggers. This variable is NULL in statement-level triggers + and for DELETE operations. @@ -3047,7 +3048,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. + triggers. This variable is NULL in statement-level triggers + and for INSERT operations.