We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bb1510 commit 31c7bceCopy full SHA for 31c7bce
testgres/node.py
@@ -5,6 +5,7 @@
5
import signal
6
import threading
7
import tempfile
8
+import subprocess
9
from queue import Queue
10
11
import time
@@ -1049,7 +1050,13 @@ def _psql(
1049
1050
# should be the last one
1051
psql_params.append(dbname)
1052
- return self.os_ops.exec_command(psql_params, verbose=True, input=input, ignore_errors=ignore_errors)
1053
+ return self.os_ops.exec_command(
1054
+ psql_params,
1055
+ verbose=True,
1056
+ input=input,
1057
+ stderr=subprocess.PIPE,
1058
+ stdout=subprocess.PIPE,
1059
+ ignore_errors=ignore_errors)
1060
1061
@method_decorator(positional_args_hack(['dbname', 'query']))
1062
def safe_psql(self, query=None, expect_error=False, **kwargs):
0 commit comments