node check: add option --db-connection

This is intended for diagnostic purposes, primarily when diagnosing
the connection parameters used when repmgr is being executed on a
remote node.
This commit is contained in:
Ian Barwick
2020-04-15 17:36:08 +09:00
parent 9df1731fb8
commit 45e96f21a5
4 changed files with 94 additions and 1 deletions

View File

@@ -541,6 +541,10 @@ main(int argc, char **argv)
runtime_options.replication_config_owner = true;
break;
case OPT_DB_CONNECTION:
runtime_options.db_connection = true;
break;
/*--------------------
* "node rejoin" options
*--------------------