Modify pg_dump so that the preferred dump order is by name within
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 3 Mar 2004 21:28:55 +0000 (21:28 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 3 Mar 2004 21:28:55 +0000 (21:28 +0000)
commit9e733eab6981e3c7c6730333f42320bed29b8a68
tree4e84f0b46dc12ff4211211c2763ad099071c0fb4
parent6819787c9b1e5aa5972b0eccfc8e81c71877c586
Modify pg_dump so that the preferred dump order is by name within
object types, rather than by OID.  This should help ensure consistent
dump output from databases that are logically the same but have different
histories, per recent discussion about 'diffing' databases.  The patch
is bulky because of renaming of fields, but not very complicated.
Also, do some tweaking to cause BLOB restoration to be done in a better
order, and clean up pg_restore's textual output to exactly match pg_dump.
src/bin/pg_dump/common.c
src/bin/pg_dump/pg_backup_archiver.c
src/bin/pg_dump/pg_backup_custom.c
src/bin/pg_dump/pg_backup_db.c
src/bin/pg_dump/pg_backup_db.h
src/bin/pg_dump/pg_backup_files.c
src/bin/pg_dump/pg_backup_tar.c
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.h
src/bin/pg_dump/pg_dump_sort.c