1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-11-24 22:53:40 +02:00

fix ptrack

This commit is contained in:
sfalkon
2017-11-07 11:52:56 +03:00
parent e51200032e
commit f8a4e65749

View File

@@ -647,7 +647,7 @@ class ProbackupTest(object):
"""
def switch_wal_segment(self, node):
if LooseVersion(testgres.get_pg_version()) < LooseVersion('10.0'):
if LooseVersion(testgres.get_pg_version()) >= LooseVersion('10.0'):
node.safe_psql("postgres", "select pg_switch_wal()")
else:
node.safe_psql("postgres", "select pg_switch_xlog()")