aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2019-11-07 15:49:59 -0500
committerBruce Momjian <bruce@momjian.us>2019-11-07 15:49:59 -0500
commit5292570ba19ec3f8281ef0e4233cb5cad3d30a47 (patch)
tree5fc5095f42b0cd9a3cda45af8d9b2e6396cd8f40
parent831ca9513c59436831265e7198e23639120704be (diff)
downloadpostgresql-5292570ba19ec3f8281ef0e4233cb5cad3d30a47.tar.gz
postgresql-5292570ba19ec3f8281ef0e4233cb5cad3d30a47.zip
docs: clarify that only INSERT and UPDATE triggers can mod. NEW
The point is that DELETE triggers cannot modify any values. Reported-by: Eugen Konkov Discussion: https://postgr.es/m/919823407.20191029175436@yandex.ru Backpatch-through: 9.4
-rw-r--r--doc/src/sgml/trigger.sgml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/trigger.sgml b/doc/src/sgml/trigger.sgml
index b5d506abcec..06297895e9c 100644
--- a/doc/src/sgml/trigger.sgml
+++ b/doc/src/sgml/trigger.sgml
@@ -207,7 +207,7 @@
used to signal that the trigger performed the necessary data
modifications in the view. This will cause the count of the number
of rows affected by the command to be incremented. For
- <command>INSERT</> and <command>UPDATE</> operations, the trigger
+ <command>INSERT</> and <command>UPDATE</> operations only, the trigger
may modify the <varname>NEW</> row before returning it. This will
change the data returned by
<command>INSERT RETURNING</> or <command>UPDATE RETURNING</>,