Handle failover of top-level standby

Cascaded standbys will not go into failover so we need to ignore
these when looking for candidates for promotion.
This commit is contained in:
Ian Barwick
2015-01-16 12:35:01 +09:00
parent a82d37e48a
commit 609453a848
4 changed files with 123 additions and 13 deletions

View File

@@ -22,6 +22,7 @@
#include "strutil.h"
PGconn *establish_db_connection(const char *conninfo,
const bool exit_on_error);
PGconn *establish_db_connection_by_params(const char *keywords[],