Content-Length: 872 | pFad | http://github.com/postgrespro/testgres/pull/151.patch
thub.com
From 5e7e735f51acec0c41a05804dbbc768e610717ca Mon Sep 17 00:00:00 2001
From: Sofia Kopikova
Date: Mon, 18 Nov 2024 18:01:02 +0300
Subject: [PATCH] Fix broken pipe from gdb after killing process
---
testgres/plugins/pg_probackup2/pg_probackup2/gdb.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/testgres/plugins/pg_probackup2/pg_probackup2/gdb.py b/testgres/plugins/pg_probackup2/pg_probackup2/gdb.py
index 0b61da65..64bec77c 100644
--- a/testgres/plugins/pg_probackup2/pg_probackup2/gdb.py
+++ b/testgres/plugins/pg_probackup2/pg_probackup2/gdb.py
@@ -108,6 +108,9 @@ def kill(self):
self.proc.stdin.close()
self.proc.stdout.close()
+ def terminate_subprocess(self):
+ self._execute('kill')
+
def set_breakpoint(self, location):
result = self._execute('break ' + location)
--- a PPN by Garber Painting Akron. With Image Size Reduction included!Fetched URL: http://github.com/postgrespro/testgres/pull/151.patch
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy