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: REL9_6_19~36 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9ac3b6f9d2627585e0d824548a4c09a3c7678d09;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 42172ea1da2..f569a6c8261 100644 --- a/doc/src/sgml/ref/create_trigger.sgml +++ b/doc/src/sgml/ref/create_trigger.sgml @@ -386,6 +386,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