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 aa336b4 commit 23497fbCopy full SHA for 23497fb
src/ptrack.c
@@ -235,7 +235,8 @@ pg_ptrack_enable(PGconn *backup_conn, int ptrack_version_num)
235
else
236
{
237
res_db = pgut_execute(backup_conn, "SHOW ptrack.map_size", 0, NULL);
238
- result = strcmp(PQgetvalue(res_db, 0, 0), "0") != 0;
+ result = strcmp(PQgetvalue(res_db, 0, 0), "0") != 0 &&
239
+ strcmp(PQgetvalue(res_db, 0, 0), "-1") != 0;
240
}
241
242
PQclear(res_db);
0 commit comments