repmgr: enable "primary unregister --force" to unregister an active primary

The primary must have no registered standby nodes.

Also document usage when unregistering a primary node which is actually
running as a standby.
This commit is contained in:
Ian Barwick
2020-09-23 15:05:49 +09:00
parent cb86180f4f
commit 26b5664741
4 changed files with 24 additions and 2 deletions

View File

@@ -60,6 +60,15 @@
displayed correctly.
</para>
</listitem>
<listitem>
<para>
<link linkend="repmgr-primary-unregister">repmgr primary unregister</link>:
the <option>--force</option> can be provided to unregister an active primary node, provided
it has no registered standby nodes.
</para>
</listitem>
<listitem>
<para>
<link linkend="repmgr-standby-clone">repmgr standby clone</link>: new option