mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
repmgrd: ensure primary connection is reset if same as upstream
Addresses GitHub #633.
This commit is contained in:
@@ -22,7 +22,7 @@ extern PGconn *local_conn;
|
||||
extern bool startup_event_logged;
|
||||
extern char pid_file[MAXPGPATH];
|
||||
|
||||
bool check_upstream_connection(PGconn **conn, const char *conninfo);
|
||||
bool check_upstream_connection(PGconn **conn, const char *conninfo, PGconn **paired_conn);
|
||||
void try_reconnect(PGconn **conn, t_node_info *node_info);
|
||||
|
||||
int calculate_elapsed(instr_time start_time);
|
||||
|
||||
Reference in New Issue
Block a user