mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 00:46:29 +00:00
fix: handle connection loss to standby
We do basically the same as we do for the master since connections drop from time to time
This commit is contained in:
@@ -440,7 +440,7 @@ wait_connection_availability(PGconn *conn, int timeout)
|
||||
{
|
||||
if (PQconsumeInput(conn) == 0)
|
||||
{
|
||||
log_warning(_("wait_connection_availability: could not receive data from master. %s\n"),
|
||||
log_warning(_("wait_connection_availability: could not receive data from connection. %s\n"),
|
||||
PQerrorMessage(conn));
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user