mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2024-12-05 11:00:22 +02:00
add support of ptrack 1.6
This commit is contained in:
parent
d1e4d2b059
commit
0b0a48ff4c
@ -1164,10 +1164,10 @@ pg_ptrack_support(void)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Now we support only ptrack version 1.5 */
|
/* Now we support only ptrack versions upper than 1.5 */
|
||||||
if (strcmp(PQgetvalue(res_db, 0, 0), "1.5") != 0)
|
if (strverscmp(PQgetvalue(res_db, 0, 0), "1.5") < 0)
|
||||||
{
|
{
|
||||||
elog(WARNING, "Update your ptrack to the version 1.5. Current version is %s", PQgetvalue(res_db, 0, 0));
|
elog(WARNING, "Update your ptrack to the version 1.5 or upper. Current version is %s", PQgetvalue(res_db, 0, 0));
|
||||||
PQclear(res_db);
|
PQclear(res_db);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user