Store upstream node ID if set

Required to manage cascaded standbys
This commit is contained in:
Ian Barwick
2015-01-16 00:29:43 +09:00
parent a20afe28ec
commit 3dfa33d01d
4 changed files with 29 additions and 7 deletions

View File

@@ -38,7 +38,7 @@
#include "config.h"
#define MAXFILENAME 1024
#define ERRBUFF_SIZE 512
#define ERRBUFF_SIZE 512
#define DEFAULT_CONFIG_FILE "./repmgr.conf"
#define DEFAULT_WAL_KEEP_SEGMENTS "5000"
@@ -51,7 +51,7 @@
#define MANUAL_FAILOVER 0
#define AUTOMATIC_FAILOVER 1
#define NO_UPSTREAM_NODE -1
/* Run time options type */
typedef struct