Update pg_dump to use SET DEFAULT_TABLESPACE instead of explicit
Tom Lane <tgl@sss.pgh.pa.us>
Update pg_dump to use SET DEFAULT_TABLESPACE instead of explicit tablespace clauses; this should improve compatibility of dump files. Philip Warner, some rework by Tom Lane.
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_dump/pg_backup_archiver.c | modified | +86 −4 |
| src/bin/pg_dump/pg_backup_archiver.h | modified | +12 −3 |
| src/bin/pg_dump/pg_backup_db.c | modified | +2 −1 |
| src/bin/pg_dump/pg_backup.h | modified | +7 −4 |
| src/bin/pg_dump/pg_dump.c | modified | +57 −34 |