After switchover, enable sibling standbys to follow new primary

This commit is contained in:
Ian Barwick
2017-08-10 00:06:16 +09:00
parent 4930c95ef7
commit a57fb5b50c
7 changed files with 165 additions and 17 deletions

View File

@@ -86,6 +86,7 @@ typedef struct
char remote_config_file[MAXPGPATH];
bool always_promote;
bool force_rewind;
bool siblings_follow;
/* "node status" options */
bool is_shutdown;
@@ -134,7 +135,7 @@ typedef struct
/* "standby register" options */ \
false, 0, \
/* "standby switchover" options */ \
"", false, false, \
"", false, false, false, \
/* "node status" options */ \
false, \
/* "node check" options */ \