Skip to content

Commit b5a70fc

Browse files
committed
check if ptrack_version == 1.4
1 parent fae522d commit b5a70fc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/backup.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1099,8 +1099,9 @@ pg_ptrack_support(void)
10991099
}
11001100

11011101
/* Now we support only ptrack version 1.3 */
1102-
if (strcmp(PQgetvalue(res_db, 0, 0), "1.3") != 0)
1102+
if (strcmp(PQgetvalue(res_db, 0, 0), "1.4") != 0)
11031103
{
1104+
elog(WARNING, "Update your ptrack to the version 1.4. Current version is %s", PQgetvalue(res_db, 0, 0));
11041105
PQclear(res_db);
11051106
return false;
11061107
}

0 commit comments

Comments
 (0)