doc: mention trigger helper functions in CREATE TRIGGER docs

Reported-by: petermpallesen@gmail.com

Discussion: https://postgr.es/m/159195294959.673.5752624528747900508@wrigleys.postgresql.org

Backpatch-through: 9.5
This commit is contained in:
Bruce Momjian 2020-06-25 18:33:28 -04:00
parent 6685470dc8
commit dd2bb77c72
1 changed files with 6 additions and 0 deletions

View File

@ -386,6 +386,12 @@ UPDATE OF <replaceable>column_name1</replaceable> [, <replaceable>column_name2</
value did not change. value did not change.
</para> </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> <para>
In a <literal>BEFORE</> trigger, the <literal>WHEN</> condition is In a <literal>BEFORE</> trigger, the <literal>WHEN</> condition is
evaluated just before the function is or would be executed, so using evaluated just before the function is or would be executed, so using