"node check": add server role check

This commit is contained in:
Ian Barwick
2017-08-14 22:57:09 +09:00
parent fa7d60cd51
commit 10ef30096c
9 changed files with 156 additions and 22 deletions

View File

@@ -86,6 +86,7 @@ typedef struct
/* "node check" options */
bool archiver;
bool replication_lag;
bool role;
/* "node join" options */
char config_files[MAXLEN];
@@ -131,7 +132,7 @@ typedef struct
/* "node status" options */ \
false, \
/* "node check" options */ \
false, false, \
false, false, false, \
/* "node join" options */ \
"", \
/* "node service" options */ \