mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-25 16:16:29 +00:00
Add a check of the connection inside the CancelQuery() so it check
that before trying to cancel a query, which can block.
This commit is contained in:
@@ -37,5 +37,5 @@ PGconn *getMasterConnection(PGconn *standby_conn, char *schema, char *cluster,
|
||||
int *master_id, char *master_conninfo_out);
|
||||
|
||||
int wait_connection_availability(PGconn *conn, int timeout);
|
||||
void CancelQuery(PGconn *conn);
|
||||
void CancelQuery(PGconn *conn, int timeout);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user