Make "pgdata" a mandatory configuration file setting

There are some circumstances, e.g. during switchover operations,
where repmgr may need to operate on a data directory while the
server isn't running, in which case there's no way to retrieve
that information.
This commit is contained in:
Ian Barwick
2017-08-02 23:04:24 +09:00
parent 83cda89362
commit c67aa15581
6 changed files with 54 additions and 62 deletions

View File

@@ -53,9 +53,9 @@ typedef struct
int node_id;
char node_name[MAXLEN];
char conninfo[MAXLEN];
char pgdata[MAXPGPATH];
char replication_user[NAMEDATALEN];
char pg_bindir[MAXPGPATH];
char pgdata[MAXPGPATH];
int replication_type;
/* log settings */