Report error code on follow/rejoin failure due to non-available slot

Previously, if "repmgr standby follow" or "repmgr node rejoin" failed
due to a replication slot not being available, no error code was
returned.
This commit is contained in:
Ian Barwick
2020-02-03 14:57:19 +09:00
parent 0141bc2be7
commit ab9c84c655
3 changed files with 21 additions and 1 deletions

View File

@@ -45,6 +45,22 @@
</para>
</sect2>
<sect2>
<title>Bug fixes</title>
<para>
<itemizedlist>
<listitem>
<para>
<link linkend="repmgr-standby-follow"><command>repmgr standby follow</command></link> and
<link linkend="repmgr-node-rejoin"><command>repmgr node rejoin</command></link> will now return
an error code if the operation fails if a replication slot is not available or cannot
be created on the follow/rejoin target.
</para>
</listitem>
</itemizedlist>
</para>
</sect2>
</sect1>
<sect1 id="release-5.0">