]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
doc: mention trigger helper functions in CREATE TRIGGER docs
authorBruce Momjian <bruce@momjian.us>
Thu, 25 Jun 2020 22:33:28 +0000 (18:33 -0400)
committerBruce Momjian <bruce@momjian.us>
Thu, 25 Jun 2020 22:33:28 +0000 (18:33 -0400)
Reported-by: petermpallesen@gmail.com
Discussion: https://postgr.es/m/159195294959.673.5752624528747900508@wrigleys.postgresql.org

Backpatch-through: 9.5

doc/src/sgml/ref/create_trigger.sgml

index 91293b7ca17e84cfcfd8a86a8719ec018ec74271..576e27f4dcce9eb3c6507356a8ce133fae24db0a 100644 (file)
@@ -447,6 +447,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