We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3880d60 commit d5b15e1Copy full SHA for d5b15e1
src/ptrack.c
@@ -230,7 +230,8 @@ pg_ptrack_enable(PGconn *backup_conn, int ptrack_version_num)
230
else
231
{
232
res_db = pgut_execute(backup_conn, "SHOW ptrack.map_size", 0, NULL);
233
- result = strcmp(PQgetvalue(res_db, 0, 0), "0") != 0;
+ result = strcmp(PQgetvalue(res_db, 0, 0), "0") != 0 &&
234
+ strcmp(PQgetvalue(res_db, 0, 0), "-1") != 0;
235
}
236
237
PQclear(res_db);
0 commit comments