doc: Add link to login event trigger example
authorDaniel Gustafsson <[email protected]>
Wed, 2 Oct 2024 10:24:39 +0000 (12:24 +0200)
committerDaniel Gustafsson <[email protected]>
Wed, 2 Oct 2024 10:24:39 +0000 (12:24 +0200)
The login event trigger is not listed on the trigger firing matrix
since it's not fired by a command.  Add a link to the example code
page similar to how the other event triggers link to the matrix.

Reported-by: Marcos Pegoraro <[email protected]>
Discussion: https://postgr.es/m/CAB-JLwYS+78rX02BZ3wJ9ykVrd2i3O1K+7jzvZKQ0evquyQiLQ@mail.gmail.com

doc/src/sgml/event-trigger.sgml

index 8e009cca050f2def75f384f0bbfc3deb2e20c151..d03063903465748bf12db36c9f8c7b38b5de58df 100644 (file)
      the in-progress <literal>login</literal> trigger.
    </para>
 
+   <para>
+     For an example on how to use the <literal>login</literal> event trigger,
+     see <xref linkend="event-trigger-database-login-example"/>.
+   </para>
+
    <para>
      The <literal>ddl_command_start</literal> event occurs just before the
      execution of a <literal>CREATE</literal>, <literal>ALTER</literal>, <literal>DROP</literal>,