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.
Showing
- src/bin/pg_dump/common.c 5 additions, 4 deletionssrc/bin/pg_dump/common.c
- src/bin/pg_dump/pg_dump.c 243 additions, 89 deletionssrc/bin/pg_dump/pg_dump.c
- src/bin/pg_dump/pg_dump.h 12 additions, 4 deletionssrc/bin/pg_dump/pg_dump.h
- src/bin/pg_dump/pg_dump_sort.c 18 additions, 21 deletionssrc/bin/pg_dump/pg_dump_sort.c
Loading
Please register or sign in to comment