repmgrd: document standby_[failure|recovery] event notifications

Also clean up the relevant code section.

Addresses GitHub #359.
This commit is contained in:
Ian Barwick
2018-01-04 09:33:37 +09:00
parent 5d8ec136e6
commit e64d965c6a
2 changed files with 19 additions and 16 deletions

View File

@@ -121,6 +121,7 @@
<para>
By default, all notification types will be passed to the designated script;
the notification types can be filtered to explicitly named ones:
<itemizedlist spacing="compact" mark="bullet">
<listitem>
@@ -147,6 +148,12 @@
<listitem>
<simpara><literal>standby_disconnect_manual</literal></simpara>
</listitem>
<listitem>
<simpara><literal>standby_failure</literal></simpara>
</listitem>
<listitem>
<simpara><literal>standby_recovery</literal></simpara>
</listitem>
<listitem>
<simpara><literal>witness_register</literal></simpara>
</listitem>