mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
repmgrd: handle reconnect to restarted server when using "connection" checks
This commit is contained in:
@@ -23,7 +23,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);
|
||||
void try_reconnect(PGconn **conn, t_node_info *node_info);
|
||||
|
||||
int calculate_elapsed(instr_time start_time);
|
||||
|
||||
Reference in New Issue
Block a user