summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian2019-11-07 20:50:00 +0000
committerBruce Momjian2019-11-07 20:50:00 +0000
commitc10fae21428fe926568e67b7662ed8577faf9235 (patch)
treef89e0f27342d2a4a9f932019648fdeb66bd8dd90
parentc8cb98ec41f0c41ac3b4c3e8be01f12c4c53d3aa (diff)
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/[email protected] 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 67e1861e06..f62f420c19 100644
--- a/doc/src/sgml/trigger.sgml
+++ b/doc/src/sgml/trigger.sgml
@@ -230,7 +230,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</command> and <command>UPDATE</command> operations, the trigger
+ <command>INSERT</command> and <command>UPDATE</command> operations only, the trigger
may modify the <varname>NEW</varname> row before returning it. This will
change the data returned by
<command>INSERT RETURNING</command> or <command>UPDATE RETURNING</command>,