doc: mention trigger helper functions in CREATE TRIGGER docs
authorBruce Momjian <[email protected]>
Thu, 25 Jun 2020 22:33:28 +0000 (18:33 -0400)
committerBruce Momjian <[email protected]>
Thu, 25 Jun 2020 22:33:28 +0000 (18:33 -0400)
Reported-by: [email protected]
Discussion: https://postgr.es/m/159195294959.673.5752624528747900508@wrigleys.postgresql.org

Backpatch-through: 9.5

doc/src/sgml/ref/create_trigger.sgml

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