Use the new GUC variable default_with_oids in pg_dump, rather than using
Bruce Momjian <bruce@momjian.us>
Use the new GUC variable default_with_oids in pg_dump, rather than using WITH/WITHOUT OIDS in dump files. This makes dump files more portable. I have updated the pg_dump version so old binary dumps will load fine. Pre-7.5 dumps use WITHOUT OIDS in SQL were needed, so they should be fine.
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_dump/pg_backup_archiver.c | modified | +67 −5 |
| src/bin/pg_dump/pg_backup_archiver.h | modified | +7 −4 |
| src/bin/pg_dump/pg_backup.h | modified | +2 −2 |
| src/bin/pg_dump/pg_dump.c | modified | +32 −32 |