From: Bruce Momjian Date: Thu, 25 Jun 2020 22:33:28 +0000 (-0400) Subject: doc: mention trigger helper functions in CREATE TRIGGER docs X-Git-Tag: REL_10_14~48 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=441d4b5a3779ce4b7302d2a05b97e4fb01cc7fb7;p=thirdparty%2Fpostgresql.git 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 --- diff --git a/doc/src/sgml/ref/create_trigger.sgml b/doc/src/sgml/ref/create_trigger.sgml index 91293b7ca17..576e27f4dcc 100644 --- a/doc/src/sgml/ref/create_trigger.sgml +++ b/doc/src/sgml/ref/create_trigger.sgml @@ -447,6 +447,12 @@ UPDATE OF column_name1 [, column_name2 + + 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