Content-Length: 1087 | pFad | http://github.com/postgrespro/testgres/pull/148.patch
thub.com
From 2d2a156ca7e1465236d655675cb553e117ad4d11 Mon Sep 17 00:00:00 2001
From: Makarov Vyacheslav
Date: Fri, 15 Nov 2024 06:26:49 +0300
Subject: [PATCH] Refinement of the run function in app.py
---
testgres/plugins/pg_probackup2/pg_probackup2/app.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/testgres/plugins/pg_probackup2/pg_probackup2/app.py b/testgres/plugins/pg_probackup2/pg_probackup2/app.py
index e656b66d..bb642f98 100644
--- a/testgres/plugins/pg_probackup2/pg_probackup2/app.py
+++ b/testgres/plugins/pg_probackup2/pg_probackup2/app.py
@@ -73,6 +73,8 @@ def run(self, command, gdb=False, old_binary=False, return_id=True, env=None,
command = [command[0], *use_backup_dir.pb_args, *command[1:]]
elif use_backup_dir:
command = [command[0], *self.backup_dir.pb_args, *command[1:]]
+ else:
+ command = [command[0], *self.backup_dir.pb_args[2:], *command[1:]]
if not self.probackup_old_path and old_binary:
logging.error('PGPROBACKUPBIN_OLD is not set')
--- a PPN by Garber Painting Akron. With Image Size Reduction included!Fetched URL: http://github.com/postgrespro/testgres/pull/148.patch
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy