Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e4d59f3

Browse files
committed
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
1 parent 6117526 commit e4d59f3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/src/sgml/plpgsql.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3282,8 +3282,8 @@ RAISE unique_violation USING MESSAGE = 'Duplicate user ID: ' || user_id;
32823282
<para>
32833283
Data type <type>RECORD</type>; variable holding the new
32843284
database row for <command>INSERT</>/<command>UPDATE</> operations in row-level
3285-
triggers. This variable is <symbol>NULL</symbol> in statement-level triggers
3286-
and for <command>DELETE</command> operations.
3285+
triggers. This variable is not defined in statement-level triggers
3286+
or <command>DELETE</command> operations.
32873287
</para>
32883288
</listitem>
32893289
</varlistentry>
@@ -3294,8 +3294,8 @@ RAISE unique_violation USING MESSAGE = 'Duplicate user ID: ' || user_id;
32943294
<para>
32953295
Data type <type>RECORD</type>; variable holding the old
32963296
database row for <command>UPDATE</>/<command>DELETE</> operations in row-level
3297-
triggers. This variable is <symbol>NULL</symbol> in statement-level triggers
3298-
and for <command>INSERT</command> operations.
3297+
triggers. This variable is not defined in statement-level triggers
3298+
or <command>INSERT</command> operations.
32993299
</para>
33003300
</listitem>
33013301
</varlistentry>

0 commit comments

Comments
 (0)