Add "repmgr node archive-config"

This commit is contained in:
Ian Barwick
2017-08-01 17:38:54 +09:00
parent 3683d096f1
commit f023b9c90c
9 changed files with 281 additions and 39 deletions

View File

@@ -78,6 +78,8 @@ typedef struct
char event[MAXLEN];
int limit;
/* following options for internal use */
char config_archive_dir[MAXPGPATH];
} t_runtime_options;
#define T_RUNTIME_OPTIONS_INITIALIZER { \
@@ -100,7 +102,9 @@ typedef struct
/* standby register options */ \
false, 0, \
/* event options */ \
false, "", CLUSTER_EVENT_LIMIT }
false, "", CLUSTER_EVENT_LIMIT, \
"/tmp" \
}
typedef enum {