Misc updates and fixes

This commit is contained in:
Ian Barwick
2017-07-20 21:15:55 +09:00
parent b99443b0c8
commit 1a45287e76
3 changed files with 4 additions and 3 deletions

View File

@@ -981,7 +981,7 @@ get_recovery_type(PGconn *conn)
res = PQexec(conn, sqlquery);
if (res == NULL || PQresultStatus(res) != PGRES_TUPLES_OK)
if (PQresultStatus(res) != PGRES_TUPLES_OK)
{
log_error(_("unable to determine if server is in recovery:\n %s"),
PQerrorMessage(conn));