repmgr standby follow: initial code

This commit is contained in:
Ian Barwick
2017-06-16 00:05:18 +09:00
parent a69f80a9af
commit 7b976ef2df
5 changed files with 109 additions and 24 deletions

View File

@@ -950,7 +950,7 @@ get_master_connection(PGconn *conn,
node_id = atoi(PQgetvalue(res, i, 0));
strncpy(remote_conninfo, PQgetvalue(res, i, 1), MAXCONNINFO);
log_verbose(LOG_INFO,
_("checking role of cluster node '%i'"),
_("checking role of node '%i'"),
node_id);
remote_conn = establish_db_connection(remote_conninfo, false);