"cluster show": improve handling of database errors

In particular, if running "repmgr cluster show" against a database
without the repmgr metadata, showing the error (rather than just
"no records found" etc.) will provide some clues about the problem.
This commit is contained in:
Ian Barwick
2018-02-05 10:15:48 +09:00
parent a481ca7ce2
commit f96cc3b906
4 changed files with 31 additions and 7 deletions

View File

@@ -4,6 +4,7 @@
repmgr: improve switchover log messages and exit code when old primary could
not be shut down cleanly (Ian)
repmgr: add --dry-run mode to "repmgr standby follow"; GitHub #368 (Ian)
repmgr: fix upstream node display in "repmgr node status"; GitHub #363 (fanf2)
4.0.2 2018-01-18
repmgr: add missing -W option to getopt_long() invocation; GitHub #350 (Ian)