standby promote: enable "service_promote_command" in PostgreSQL 12

This enables the promote command generated internally by repmgr to
be overridden if desired, in the same way as for PostgreSQL 11 and
earlier.
This commit is contained in:
Ian Barwick
2020-03-06 13:20:44 +09:00
parent fb5ce720f3
commit 0bc0a28378
4 changed files with 30 additions and 2 deletions

View File

@@ -97,6 +97,12 @@
</para>
</listitem>
<listitem>
<para>
<link linkend="repmgr-standby-promote"><command>repmgr standby promote</command></link>:
in PostgreSQL 12 and later, use <varname>service_promote_command</varname> if set.
</para>
</listitem>
<listitem>
<para>