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_5_23~35 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dd2bb77c72f4af9b6e546d02e35e84668a909950;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