Skip to content

Commit 3dc640f

Browse files
committed
Value pg_probackup major_version added to the class Init
1 parent 4c70b80 commit 3dc640f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎testgres/plugins/pg_probackup2/pg_probackup2/init_helpers.py

+2
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,8 @@ def __init__(self):
204204
os.environ["PGAPPNAME"] = "pg_probackup"
205205
self.delete_logs = delete_logs
206206

207+
self.major_version = int(self.probackup_version.split('.')[0])
208+
207209
def test_env(self):
208210
return self._test_env.copy()
209211

0 commit comments

Comments
 (0)