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

Commit6d41dd0

Browse files
committed
Change PostgresNode::connect_fails() to never send down queries
This type of failure is similar to what has been fixed inc757a3d,where an authentication failure combined with psql pushing a commanddown its communication pipe causes a test failure. This routine isdesigned to fail, so sending a query has little sense anyway.Per buildfarm members gaur and hoverfly, based on an analysis and fixfrom Tom Lane.Discussion:https://postgr.es/m/513200.1617634642@sss.pgh.pa.us
1 parentf6b8f19 commit6d41dd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/test/perl/PostgresNode.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1938,7 +1938,7 @@ sub connect_fails
19381938
# have set up things properly, and this should not block.
19391939
my ($ret,$stdout,$stderr) =$self->psql(
19401940
'postgres',
1941-
"SELECT\$\$connected with$connstr\$\$",
1941+
undef,
19421942
extra_params=> ['-w'],
19431943
connstr=>"$connstr");
19441944

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp