|
3982 | 3982 | 'pg_dumpall: option --exclude-database rejects multipart pattern "."'
|
3983 | 3983 | );
|
3984 | 3984 |
|
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 |
| -
|
3997 | 3985 | $node->command_fails_like(
|
3998 | 3986 | [ 'pg_dumpall', '--exclude-database', 'myhost.mydb' ],
|
3999 | 3987 | qr/pg_dumpall: error: improper qualified name \(too many dotted names\): myhost\.mydb/,
|
|
4008 | 3996 | 'pg_dumpall: option --exclude-database handles database names with embedded dots'
|
4009 | 3997 | );
|
4010 | 3998 |
|
4011 |
| -$node->command_ok( |
4012 |
| - [ 'pg_dumpall', '--exclude-database', '??*' ], |
4013 |
| - 'pg_dumpall: option --exclude-database handles database name patterns' |
4014 |
| -); |
4015 |
| -
|
4016 |
| -
|
4017 | 3999 | #########################################
|
4018 | 4000 | # Test invalid multipart schema names
|
4019 | 4001 |
|
|
4041 | 4023 | 'pg_dump: option --schema rejects cross-database multipart schema names with embedded dots'
|
4042 | 4024 | );
|
4043 | 4025 |
|
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 |
| -
|
4050 | 4026 | $node->command_fails_like(
|
4051 | 4027 | [ 'pg_dump', '--schema', '..' ],
|
4052 | 4028 | qr/pg_dump: error: improper qualified name \(too many dotted names\): \.\./,
|
4053 | 4029 | 'pg_dump: option --schema rejects degenerate three-part schema name: ".."'
|
4054 | 4030 | );
|
4055 | 4031 |
|
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 |
| -
|
4062 | 4032 | #########################################
|
4063 | 4033 | # Test invalid multipart relation names
|
4064 | 4034 |
|
|
0 commit comments