Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcd07f73

Browse files
committed
Fix recovery test hang
The test would hang if a sufficient ~/.psqlrc was present. Fix by usingpsql -X.
1 parent87dee41 commitcd07f73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/test/recovery/t/011_crash_recovery.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
# an xact to be in-progress when we crash and we need to know
1919
# its xid.
2020
my$tx = IPC::Run::start(
21-
['psql','-qAt','-v','ON_ERROR_STOP=1','-f','-','-d',$node->connstr('postgres')],
21+
['psql','-X','-qAt','-v','ON_ERROR_STOP=1','-f','-','-d',$node->connstr('postgres')],
2222
'<', \$stdin,'>', \$stdout,'2>', \$stderr);
2323
$stdin .=q[
2424
BEGIN;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp