Merge pull request #191 from gciolli/feature-barman-support

Add Barman support to repmgr standby clone
This commit is contained in:
Ian Barwick
2016-08-18 15:04:46 +09:00
5 changed files with 980 additions and 322 deletions

View File

@@ -57,6 +57,7 @@
#define OPT_PWPROMPT 7
#define OPT_CSV 8
#define OPT_NODE 9
#define OPT_WITHOUT_BARMAN 10
/* deprecated command line options */
#define OPT_INITDB_NO_PWPROMPT 999
@@ -83,6 +84,7 @@ typedef struct
bool fast_checkpoint;
bool ignore_external_config_files;
bool csv_mode;
bool without_barman;
char masterport[MAXLEN];
/*
* configuration file parameters which can be overridden on the
@@ -106,7 +108,7 @@ typedef struct
char recovery_min_apply_delay[MAXLEN];
} t_runtime_options;
#define T_RUNTIME_OPTIONS_INITIALIZER { "", "", "", "", "", "", "", DEFAULT_WAL_KEEP_SEGMENTS, false, false, false, false, false, false, false, false, false, false, "", "", "", "", "fast", "", 0, 0, "", ""}
#define T_RUNTIME_OPTIONS_INITIALIZER { "", "", "", "", "", "", "", DEFAULT_WAL_KEEP_SEGMENTS, false, false, false, false, false, false, false, false, false, false, false, "", "", "", "", "fast", "", 0, 0, "", ""}
struct BackupLabel
{