You've already forked pg_probackup
mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-11-26 23:10:28 +02:00
fix ptrack
This commit is contained in:
@@ -647,7 +647,7 @@ class ProbackupTest(object):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
def switch_wal_segment(self, node):
|
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()")
|
node.safe_psql("postgres", "select pg_switch_wal()")
|
||||||
else:
|
else:
|
||||||
node.safe_psql("postgres", "select pg_switch_xlog()")
|
node.safe_psql("postgres", "select pg_switch_xlog()")
|
||||||
|
|||||||
Reference in New Issue
Block a user