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

Lines changed: 2 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy