projects
/
postgresql-pgindent.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed3af2c
)
doc: mention trigger helper functions in CREATE TRIGGER docs
author
Bruce Momjian
<
[email protected]
>
Thu, 25 Jun 2020 22:33:28 +0000
(18:33 -0400)
committer
Bruce Momjian
<
[email protected]
>
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 1c2d17725091ac3a0c555131c850089478c75ac1..fb8996ac15bab5573bad663342ad1535edb48aeb 100644
(file)
--- a/
doc/src/sgml/ref/create_trigger.sgml
+++ b/
doc/src/sgml/ref/create_trigger.sgml
@@
-457,6
+457,12
@@
UPDATE OF <replaceable>column_name1</replaceable> [, <replaceable>column_name2</
value did not change.
</para>
+ <para>
+ 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 <xref linkend="functions-trigger"/>.
+ </para>
+
<para>
In a <literal>BEFORE</literal> trigger, the <literal>WHEN</literal> condition is
evaluated just before the function is or would be executed, so using