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

Commitffd3980

Browse files
committed
pg_dump new test: Change order of arguments
Some getopt_long implementations don't like to have a non-optionargument before option arguments, so put the database name as thelast switch.Per buildfarm member hoverfly.
1 parent2f9eb31 commitffd3980

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/pg_dump/t/003_pg_dump_with_server.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
my ($cmd,$stdout,$stderr,$result);
2828

2929
command_fails_like(
30-
["pg_dump",'-p',$port,'postgres','--include-foreign-data=s0' ],
30+
["pg_dump",'-p',$port,'--include-foreign-data=s0','postgres' ],
3131
qr/foreign-data wrapper\"dummy\" has no handler\r?\npg_dump: error: query was:.*t0/,
3232
"correctly fails to dump a foreign table from a dummy FDW");
3333

3434
command_ok(
35-
["pg_dump",'-p',$port,'postgres','-a','--include-foreign-data=s2' ] ,
35+
["pg_dump",'-p',$port,'-a','--include-foreign-data=s2','postgres' ] ,
3636
"dump foreign server with no tables");

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp