diff options
author | Bruce Momjian <bruce@momjian.us> | 2011-09-06 22:54:18 -0400 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2011-09-06 22:54:18 -0400 |
commit | e4d59f35366964298b0c9d4847f0a7efd3ddf830 (patch) | |
tree | 70a5f46357cc61e7f0a9977ed700fbf00701496b | |
parent | 6117526b5bf17dc22812ca8aa958a40c8edfc8a2 (diff) | |
download | postgresql-e4d59f35366964298b0c9d4847f0a7efd3ddf830.tar.gz postgresql-e4d59f35366964298b0c9d4847f0a7efd3ddf830.zip |
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
-rw-r--r-- | doc/src/sgml/plpgsql.sgml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml index 0a9d71ef41a..d82a003fe94 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; <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 <symbol>NULL</symbol> in statement-level triggers - and for <command>DELETE</command> operations. + triggers. This variable is not defined in statement-level triggers + or <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 <symbol>NULL</symbol> in statement-level triggers - and for <command>INSERT</command> operations. + triggers. This variable is not defined in statement-level triggers + or <command>INSERT</command> operations. </para> </listitem> </varlistentry> |