You've already forked pg_probackup
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:
@@ -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()")
|
||||
|
||||
Reference in New Issue
Block a user