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:
Ian Barwick
2017-08-31 14:57:07 +09:00
parent 677cd9073a
commit 0e0b221507
8 changed files with 45 additions and 28 deletions

View File

@@ -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 */ \