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

Commit5292570

Browse files
committed
docs: clarify that only INSERT and UPDATE triggers can mod. NEW
The point is that DELETE triggers cannot modify any values.Reported-by: Eugen KonkovDiscussion:https://postgr.es/m/919823407.20191029175436@yandex.ruBackpatch-through: 9.4
1 parent831ca95 commit5292570

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎doc/src/sgml/trigger.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@
207207
used to signal that the trigger performed the necessary data
208208
modifications in the view. This will cause the count of the number
209209
of rows affected by the command to be incremented. For
210-
<command>INSERT</> and <command>UPDATE</> operations, the trigger
210+
<command>INSERT</> and <command>UPDATE</> operations only, the trigger
211211
may modify the <varname>NEW</> row before returning it. This will
212212
change the data returned by
213213
<command>INSERT RETURNING</> or <command>UPDATE RETURNING</>,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp