repmgr: fix "standby register --wait-sync" when no timeout provided

The default value for "wait_register_sync_seconds" was zero, which is treated
as disabling --wait-sync altogether. Default value now set to -1, which is taken
to mean no timeout value supplied.
This commit is contained in:
Ian Barwick
2018-07-04 17:22:04 +09:00
parent a194cf56b3
commit 37311e15a3
4 changed files with 30 additions and 4 deletions

View File

@@ -67,6 +67,23 @@
</itemizedlist>
</para>
</sect2>
<sect2>
<title>Bug fixes</title>
<para>
<itemizedlist>
<listitem>
<para>
<application>repmgr</application>: fix <command><link linkend="repmgr-standby-register">repmgr standby register--wait-sync </link></command>
when no timeout provided.
</para>
</listitem>
</itemizedlist>
</para>
</sect2>
</sect1>
<sect1 id="release-4.0.6">