You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-03 00:26:59 +02:00
Fix return type for PQresultStatus().
Found on MacOS M1.
This commit is contained in:
@ -232,7 +232,7 @@ pgClientQuery(PgClient *this, const String *query)
|
||||
THROW_FMT(DbQueryError, "query '%s' timed out after %" PRIu64 "ms", strZ(query), this->queryTimeout);
|
||||
|
||||
// If this was a command that returned no results then we are done
|
||||
int resultStatus = PQresultStatus(pgResult);
|
||||
ExecStatusType resultStatus = PQresultStatus(pgResult);
|
||||
|
||||
if (resultStatus != PGRES_COMMAND_OK)
|
||||
{
|
||||
|
Reference in New Issue
Block a user