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:
Christian Kruse
2014-01-10 17:12:03 +01:00
parent 4fabfbbbd0
commit dcdf8788ae
2 changed files with 35 additions and 15 deletions

View File

@@ -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;
}