Skip to content

Commit 33c28fd

Browse files
committed
Accept ptrack v2.2 as well
1 parent 341b767 commit 33c28fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ptrack.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,8 @@ get_ptrack_version(PGconn *backup_conn, PGNodeInfo *nodeInfo)
201201
nodeInfo->ptrack_version_num = 20;
202202
else if (strcmp(ptrack_version_str, "2.1") == 0)
203203
nodeInfo->ptrack_version_num = 21;
204+
else if (strcmp(ptrack_version_str, "2.2") == 0)
205+
nodeInfo->ptrack_version_num = 22;
204206
else
205207
elog(WARNING, "Update your ptrack to the version 2.1 or upper. Current version is %s",
206208
ptrack_version_str);

0 commit comments

Comments
 (0)