Basic CSV mode for "repmgr cluster show", enabled by --csv command

line option
This commit is contained in:
Gianni Ciolli
2016-05-23 19:00:25 +02:00
parent 0daa7381b3
commit 560066fa9d
2 changed files with 45 additions and 18 deletions

View File

@@ -70,6 +70,7 @@ typedef struct
bool rsync_only;
bool fast_checkpoint;
bool ignore_external_config_files;
bool csv_mode;
char pg_ctl_mode[MAXLEN];
char masterport[MAXLEN];
/*
@@ -95,7 +96,7 @@ typedef struct
bool initdb_no_pwprompt;
} t_runtime_options;
#define T_RUNTIME_OPTIONS_INITIALIZER { "", "", "", "", "", "", "", DEFAULT_WAL_KEEP_SEGMENTS, false, false, false, false, false, false, false, false, false, "smart", "", "", "", "", "", 0, "", "", "", false }
#define T_RUNTIME_OPTIONS_INITIALIZER { "", "", "", "", "", "", "", DEFAULT_WAL_KEEP_SEGMENTS, false, false, false, false, false, false, false, false, false, false, "smart", "", "", "", "", "", 0, "", "", "", false }
struct BackupLabel
{