mirror of
https://github.com/postgres/postgres.git
synced 2026-07-15 20:52:53 -04:00
Fix recovery test hang
The test would hang if a sufficient ~/.psqlrc was present. Fix by using psql -X.
This commit is contained in:
parent
87dee41f3e
commit
cd07f73d32
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ my ($stdin, $stdout, $stderr) = ('', '', '');
|
|||
# an xact to be in-progress when we crash and we need to know
|
||||
# its xid.
|
||||
my $tx = IPC::Run::start(
|
||||
['psql', '-qAt', '-v', 'ON_ERROR_STOP=1', '-f', '-', '-d', $node->connstr('postgres')],
|
||||
['psql', '-X', '-qAt', '-v', 'ON_ERROR_STOP=1', '-f', '-', '-d', $node->connstr('postgres')],
|
||||
'<', \$stdin, '>', \$stdout, '2>', \$stderr);
|
||||
$stdin .= q[
|
||||
BEGIN;
|
||||
|
|
|
|||
Loading…
Reference in a new issue