Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit436e6af

Browse files
committed
Add documentation about when trigger values NEW/OLD return NULL.
Jeff Davis
1 parentfb4bb8b commit436e6af

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

‎doc/src/sgml/plpgsql.sgml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.133 2008/07/18 03:32:51 tgl Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/plpgsql.sgml,v 1.134 2008/09/24 19:51:22 momjian Exp $ -->
22

33
<chapter id="plpgsql">
44
<title><application>PL/pgSQL</application> - <acronym>SQL</acronym> Procedural Language</title>
@@ -3036,7 +3036,8 @@ RAISE unique_violation USING MESSAGE = 'Duplicate user ID: ' || user_id;
30363036
<para>
30373037
Data type <type>RECORD</type>; variable holding the new
30383038
database row for <command>INSERT</>/<command>UPDATE</> operations in row-level
3039-
triggers. This variable is <symbol>NULL</symbol> in statement-level triggers.
3039+
triggers. This variable is <symbol>NULL</symbol> in statement-level triggers
3040+
and for <command>DELETE</command> operations.
30403041
</para>
30413042
</listitem>
30423043
</varlistentry>
@@ -3047,7 +3048,8 @@ RAISE unique_violation USING MESSAGE = 'Duplicate user ID: ' || user_id;
30473048
<para>
30483049
Data type <type>RECORD</type>; variable holding the old
30493050
database row for <command>UPDATE</>/<command>DELETE</> operations in row-level
3050-
triggers. This variable is <symbol>NULL</symbol> in statement-level triggers.
3051+
triggers. This variable is <symbol>NULL</symbol> in statement-level triggers
3052+
and for <command>INSERT</command> operations.
30513053
</para>
30523054
</listitem>
30533055
</varlistentry>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp