mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +03:00
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:
parent
d352de8d8e
commit
81d46ea12c
@ -457,6 +457,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</literal> trigger, the <literal>WHEN</literal> condition is
|
In a <literal>BEFORE</literal> trigger, the <literal>WHEN</literal> 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user