Add --data-directory-config option to "repmgr node check"

Implements part of GitHub #523.
This commit is contained in:
Ian Barwick
2019-01-16 11:21:51 +09:00
parent 4523137bfc
commit 0b3a310802
11 changed files with 216 additions and 41 deletions

View File

@@ -3472,6 +3472,10 @@ do_standby_switchover(void)
}
termPQExpBuffer(&command_output);
/* check remote repmgr has the data directory correctly configured */
// - add repmgr node check --data-directory
/*
* populate local node record with current state of various replication-related
* values, so we can check for sufficient walsenders and replication slots