repmgrd: add %p event notification parameter for "repmgrd_failover_promote"

This enables an event notification script to identify the former primary
node.
This commit is contained in:
Ian Barwick
2021-09-28 10:24:13 +09:00
parent f152fc3016
commit 7862941300
4 changed files with 37 additions and 15 deletions

View File

@@ -77,7 +77,16 @@
status.
</para>
</listitem>
<listitem>
<para>
Add <literal>%p</literal> <link linkend="event-notifications">event notification parameter</link>
providing the node ID of the former primary for the <literal>repmgrd_failover_promote</literal> event.
</para>
</listitem>
</itemizedlist>
</para>
</sect2>