mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 16:46:28 +00:00
Add configuration file setting "use_primary_conninfo_password"
If, for whatever reason, the upstream server password needs to be set in "primary_conninfo", enable it to be extracted from $PGPASSWORD.
This commit is contained in:
@@ -66,7 +66,6 @@ typedef struct
|
||||
char replication_user[MAXLEN];
|
||||
char upstream_conninfo[MAXLEN];
|
||||
int upstream_node_id;
|
||||
bool use_recovery_conninfo_password;
|
||||
bool without_barman;
|
||||
|
||||
/* "standby register" options */
|
||||
@@ -124,7 +123,7 @@ typedef struct
|
||||
UNKNOWN_NODE_ID, "", "", \
|
||||
/* "standby clone" options */ \
|
||||
false, CONFIG_FILE_SAMEPATH, false, false, false, "", "", "", \
|
||||
NO_UPSTREAM_NODE, false, false, \
|
||||
NO_UPSTREAM_NODE, false, \
|
||||
/* "standby register" options */ \
|
||||
false, 0, \
|
||||
/* "standby switchover" options */ \
|
||||
|
||||
Reference in New Issue
Block a user