forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite97e9c5
committed
Don't print database's tablespace in pg_dump -C --no-tablespaces output.
If the database has a non-default tablespace, we emitted a TABLESPACEclause in the CREATE DATABASE command emitted by -C, even if--no-tablespaces was also specified. This seems wrong, and it'sinconsistent with what pg_dumpall does, so change it. Per bug #14315from Danylo Hlynskyi.Back-patch to 9.5. The bug is much older, but it'd be a more invasivechange before 9.5 because dumpDatabase() hasn't got an easy way to getto the outputNoTablespaces flag. Doesn't seem worth the work giventhe lack of previous complaints.Report: <20160908081953.1402.75347@wrigleys.postgresql.org>1 parent67c6bd1 commite97e9c5
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2552 | 2552 |
| |
2553 | 2553 |
| |
2554 | 2554 |
| |
2555 |
| - | |
| 2555 | + | |
| 2556 | + | |
2556 | 2557 |
| |
2557 | 2558 |
| |
2558 | 2559 |
| |
|
0 commit comments
Comments
(0)