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

@@ -1,6 +1,7 @@
4.1.0 2018-??-??
repmgr: add "--missing-slots" check to "repmgr node check" (Ian)
repmgr: improve command line error handling; GitHub #464 (Ian)
repmgr: fix "standby register --wait-sync" when no timeout provided (Ian)
repmgrd: create a PID file by default; GitHub #457 (Ian)
repmgrd: daemonize process by default; GitHub #458 (Ian)