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

Commita66e722

Browse files
committed
Remove some recently-added pg_dump test cases.
Commitd2d3547 included a prettyextensive set of test cases, and some of them don't work on allof our Windows machines. This happens because IPC::Run expandsits arguments as shell globs on a few machines, but doesn't on mostof the buildfarm. It might be good to fix that problem systematicallysomehow, but in the meantime, there are enough test cases for thiscommit that it seems OK to just remove the ones that are failing.Discussion:http://postgr.es/m/3a190754-b2b0-d02b-dcfd-4ec1610ffbcb@dunslane.netDiscussion:http://postgr.es/m/CA+TgmoYRGUcFBy6VgN0+Pn4f6Wv=2H0HZLuPHqSy6VC8Ba7vdg@mail.gmail.com
1 parent826be1f commita66e722

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

‎src/bin/pg_dump/t/002_pg_dump.pl

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3982,18 +3982,6 @@
39823982
'pg_dumpall: option --exclude-database rejects multipart pattern "."'
39833983
);
39843984
3985-
$node->command_fails_like(
3986-
[ 'pg_dumpall', '--exclude-database', '.*' ],
3987-
qr/pg_dumpall: error: improper qualified name\(too many dotted names\):\.\*/,
3988-
'pg_dumpall: option --exclude-database rejects multipart pattern ".*"'
3989-
);
3990-
3991-
$node->command_fails_like(
3992-
[ 'pg_dumpall', '--exclude-database', '*.*' ],
3993-
qr/pg_dumpall: error: improper qualified name\(too many dotted names\):\*\.\*/,
3994-
'pg_dumpall: option --exclude-database rejects multipart pattern "*.*"'
3995-
);
3996-
39973985
$node->command_fails_like(
39983986
[ 'pg_dumpall', '--exclude-database', 'myhost.mydb' ],
39993987
qr/pg_dumpall: error: improper qualified name\(too many dotted names\): myhost\.mydb/,
@@ -4008,12 +3996,6 @@
40083996
'pg_dumpall: option --exclude-database handles database names with embedded dots'
40093997
);
40103998
4011-
$node->command_ok(
4012-
[ 'pg_dumpall', '--exclude-database', '??*' ],
4013-
'pg_dumpall: option --exclude-database handles database name patterns'
4014-
);
4015-
4016-
40173999
#########################################
40184000
# Test invalid multipart schema names
40194001
@@ -4041,24 +4023,12 @@
40414023
'pg_dump: option --schema rejects cross-database multipart schema names with embedded dots'
40424024
);
40434025
4044-
$node->command_fails_like(
4045-
[ 'pg_dump', '--schema', '.*' ],
4046-
qr/pg_dump: error: cross-database references are not implemented:\.\*/,
4047-
'pg_dump: option --schema rejects degenerate two-part schema name: ".*"'
4048-
);
4049-
40504026
$node->command_fails_like(
40514027
[ 'pg_dump', '--schema', '..' ],
40524028
qr/pg_dump: error: improper qualified name\(too many dotted names\):\.\./,
40534029
'pg_dump: option --schema rejects degenerate three-part schema name: ".."'
40544030
);
40554031
4056-
$node->command_fails_like(
4057-
[ 'pg_dump', '--schema', '.*.*' ],
4058-
qr/pg_dump: error: improper qualified name\(too many dotted names\):\.\*\.\*/,
4059-
'pg_dump: option --schema rejects degenerate three-part schema pattern: ".*.*"'
4060-
);
4061-
40624032
#########################################
40634033
# Test invalid multipart relation names
40644034

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp