mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2024-12-03 09:59:53 +02:00
Merge pull request #382 from postgrespro/ptrack_version
Accept ptrack v2.2 as well
This commit is contained in:
commit
7075432e17
@ -201,6 +201,8 @@ get_ptrack_version(PGconn *backup_conn, PGNodeInfo *nodeInfo)
|
||||
nodeInfo->ptrack_version_num = 20;
|
||||
else if (strcmp(ptrack_version_str, "2.1") == 0)
|
||||
nodeInfo->ptrack_version_num = 21;
|
||||
else if (strcmp(ptrack_version_str, "2.2") == 0)
|
||||
nodeInfo->ptrack_version_num = 22;
|
||||
else
|
||||
elog(WARNING, "Update your ptrack to the version 2.1 or upper. Current version is %s",
|
||||
ptrack_version_str);
|
||||
|
Loading…
Reference in New Issue
Block a user