repmgrd: log restored connection only after a break

This commit is contained in:
Charles Duffy
2011-02-07 08:12:54 -06:00
committed by Greg Smith
parent ec30caef0f
commit b62ad056f1

View File

@@ -230,8 +230,11 @@ MonitorExecute(void)
PQreset(primaryConn); PQreset(primaryConn);
} }
else else
{
if (connection_retries > 0)
{ {
log_notice(_("Connection to master has been restored, continue monitoring.")); log_notice(_("Connection to master has been restored, continue monitoring."));
}
break; break;
} }
} }