- Notifications
You must be signed in to change notification settings - Fork28
Commita2de017
committed
Do not require 'public' to exist for pg_dump -c
Commit330b84d didn't contemplate the case where the public schemahas been dropped and introduced a query which fails when there is nopublic schema into pg_dump (when used with -c).Adjust the query used by pg_dump to handle the case where the publicschema doesn't exist and add tests to check that such a case no longerfails.Back-patch the specific fix to 9.6, as the prior commit was.Adding tests for this case involved adding support to the pg_dumpTAP tests to work with multiple databases, which, while not a largechange, is a bit much to back-patch, so that's only done in master.Addresses bug #14650Discussion:https://www.postgresql.org/message-id/20170512181801.1795.47483%40wrigleys.postgresql.org1 parent55968ed commita2de017
1 file changed
+6
-1
lines changedLines changed: 6 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3659 | 3659 |
| |
3660 | 3660 |
| |
3661 | 3661 |
| |
| 3662 | + | |
| 3663 | + | |
| 3664 | + | |
3662 | 3665 |
| |
3663 | 3666 |
| |
3664 |
| - | |
| 3667 | + | |
| 3668 | + | |
| 3669 | + | |
3665 | 3670 |
| |
3666 | 3671 |
| |
3667 | 3672 |
| |
|
0 commit comments
Comments
(0)