pg_dump can now dump large objects even in plain-text output mode, by
Tom Lane <tgl@sss.pgh.pa.us>
pg_dump can now dump large objects even in plain-text output mode, by using the recently added lo_create() function. The restore logic in pg_restore is greatly simplified as well, since there's no need anymore to try to adjust database references to match a new set of blob OIDs.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/backup.sgml | modified | +2 −26 |
| doc/src/sgml/installation.sgml | modified | +1 −9 |
| doc/src/sgml/ref/pg_dumpall.sgml | modified | +1 −11 |
| doc/src/sgml/ref/pg_dump.sgml | modified | +7 −28 |
| doc/src/sgml/ref/pg_restore.sgml | modified | +12 −13 |
| src/bin/pg_dump/pg_backup_archiver.c | modified | +92 −184 |
| src/bin/pg_dump/pg_backup_archiver.h | modified | +2 −8 |
| src/bin/pg_dump/pg_backup_custom.c | modified | +2 −10 |
| src/bin/pg_dump/pg_backup_db.c | modified | +6 −210 |
| src/bin/pg_dump/pg_backup_db.h | modified | +2 −10 |
| src/bin/pg_dump/pg_backup_files.c | modified | +1 −5 |
| src/bin/pg_dump/pg_backup.h | modified | +1 −5 |
| src/bin/pg_dump/pg_backup_null.c | modified | +110 −5 |
| src/bin/pg_dump/pg_dump.c | modified | +11 −37 |
| src/bin/pg_dump/README | modified | +5 −25 |