]> granicus.if.org Git - postgresql/commit
Fix up pg_dump to emit shell-type definitions at the proper time, to
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 Mar 2006 01:18:26 +0000 (01:18 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 2 Mar 2006 01:18:26 +0000 (01:18 +0000)
commit181f55e5fb4ba63324c5c15ab98a37f5dad53236
tree5e773a908e89f55c239a0b28e6329ab28f3520fc
parent305fcb7aa4de221a22a1b20d0116f87c8045c46b
Fix up pg_dump to emit shell-type definitions at the proper time, to
make use of the recently added ability to create a shell type explicitly.

I also put in place some infrastructure to allow dump/no dump decisions
to be made separately for each database object, rather than the former
hardwired 'dump if in a dumpable schema' policy.  This was needed anyway
for shell types so now seemed a convenient time to do it.  The flexibility
isn't exposed to the user yet, but is ready for future extensions.
src/bin/pg_dump/common.c
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.h
src/bin/pg_dump/pg_dump_sort.c