projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d352de8
)
doc: mention trigger helper functions in CREATE TRIGGER docs
author
Bruce Momjian
Thu, 25 Jun 2020 22:33:28 +0000
(18:33 -0400)
committer
Bruce Momjian
Thu, 25 Jun 2020 22:33:28 +0000
(18:33 -0400)
Reported-by:
[email protected]
Discussion: https://postgr.es/m/
159195294959
.673.
5752624528747900508
@wrigleys.postgresql.org
Backpatch-through: 9.5
doc/src/sgml/ref/create_trigger.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/ref/create_trigger.sgml
b/doc/src/sgml/ref/create_trigger.sgml
index 303881fcfbbcdd62f016eb81ad03a82104b75409..289dd1d9da8eff7b2a9d69914a417a6742f0574a 100644
(file)
--- a/
doc/src/sgml/ref/create_trigger.sgml
+++ b/
doc/src/sgml/ref/create_trigger.sgml
@@
-457,6
+457,12
@@
UPDATE OF
column_name1
[,
column_name2
value did not change.
+
+ There are a few built-in trigger functions that can be used to
+ solve common problems without having to write your own trigger code;
+ see
.
+
+
In a
BEFORE
trigger, the
WHEN
condition is
evaluated just before the function is or would be executed, so using