summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2011-09-06 22:54:19 -0400
committerBruce Momjian <bruce@momjian.us>2011-09-06 22:54:19 -0400
commita443343ccf2d7b105ce550b5746d993151569d93 (patch)
tree0b84b41c2cf16b517aaca7601d3685d65c6c6e92
parent665af1ac5aab4b06f5626af22a90102715258687 (diff)
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.sgml8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml
index b3016aed54c..ab9fdc0542d 100644
--- a/doc/src/sgml/plpgsql.sgml
+++ b/doc/src/sgml/plpgsql.sgml
@@ -3072,8 +3072,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>
@@ -3084,8 +3084,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>