You've already forked pg_probackup
mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-07-13 06:50:16 +02:00
relaxation of the requirement for calling the old pg_catalog.ptrack_version() function
This commit is contained in:
@ -312,16 +312,11 @@ class ProbackupTest(object):
|
||||
self.ptrack = False
|
||||
if 'PG_PROBACKUP_PTRACK' in self.test_env:
|
||||
if self.test_env['PG_PROBACKUP_PTRACK'] == 'ON':
|
||||
self.ptrack = True
|
||||
if self.pg_config_version >= self.version_to_num('11.0'):
|
||||
self.ptrack = True
|
||||
|
||||
os.environ["PGAPPNAME"] = "pg_probackup"
|
||||
|
||||
if self.ptrack:
|
||||
self.assertGreaterEqual(
|
||||
self.pg_config_version,
|
||||
self.version_to_num('11.0'),
|
||||
"ptrack testing require PostgreSQL >= 11")
|
||||
|
||||
@property
|
||||
def pg_config_version(self):
|
||||
return self.version_to_num(
|
||||
|
Reference in New Issue
Block a user