]> granicus.if.org Git - postgresql/commit
Fix pg_dump to dump shell types.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 4 Aug 2015 23:34:12 +0000 (19:34 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 4 Aug 2015 23:34:12 +0000 (19:34 -0400)
commit3bdd7f90fc0a038ee8b5b3fd9f9507cf2f07a4b2
treea91dececc4d6f193c8a3b721b9f935cf18e78e23
parent8ea3e7a75c0d22c41c57f59c8b367059b97d0b66
Fix pg_dump to dump shell types.

Per discussion, it really ought to do this.  The original choice to
exclude shell types was probably made in the dark ages before we made
it harder to accidentally create shell types; but that was in 7.3.

Also, cause the standard regression tests to leave a shell type behind,
for convenience in testing the case in pg_dump and pg_upgrade.

Back-patch to all supported branches.
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.h
src/test/regress/expected/create_type.out
src/test/regress/sql/create_type.sql