forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit142a110
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 parent6cdc26e commit142a110
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2444 | 2444 |
| |
2445 | 2445 |
| |
2446 | 2446 |
| |
2447 |
| - | |
| 2447 | + | |
| 2448 | + | |
2448 | 2449 |
| |
2449 | 2450 |
| |
2450 | 2451 |
| |
|
0 commit comments
Comments
(0)