Add option "--initdb-no-pwprompt"

Previously repmgr passed the -W flag to initdb, which forced
manual input of a password; this option removes the -W flag
to make repetitive testing easier.
This commit is contained in:
Ian Barwick
2014-12-24 19:07:08 +09:00
parent ee69730f8b
commit 6f80cd5441
2 changed files with 11 additions and 4 deletions

View File

@@ -62,6 +62,7 @@ typedef struct
bool force;
bool wait_for_master;
bool ignore_rsync_warn;
bool initdb_no_pwprompt;
char masterport[MAXLEN];
char localport[MAXLEN];
@@ -72,6 +73,6 @@ typedef struct
char min_recovery_apply_delay[MAXLEN];
} t_runtime_options;
#define T_RUNTIME_OPTIONS_INITIALIZER { "", "", "", "", "", "", "", DEFAULT_WAL_KEEP_SEGMENTS, false, false, false, false, "", "", 0, "" }
#define T_RUNTIME_OPTIONS_INITIALIZER { "", "", "", "", "", "", "", DEFAULT_WAL_KEEP_SEGMENTS, false, false, false, false, false, "", "", 0, "" }
#endif