Add a new standby_name parameter that, when provided in repmgr.conf,

is included in the primary_conninfo as application_name... This is
a simple first step towards making repmgr works fine with 9.1 and
sync standbys
This commit is contained in:
Jaime Casanova
2011-07-26 16:43:28 -05:00
parent 10817ecffc
commit 020e17b059
4 changed files with 14 additions and 2 deletions

View File

@@ -30,6 +30,7 @@ typedef struct
char conninfo[MAXLEN];
int failover;
int priority;
char standby_name[MAXLEN];
char promote_command[MAXLEN];
char follow_command[MAXLEN];
char loglevel[MAXLEN];