]> 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)
commit5d175be17b46374f7aaf15b2fc6b0ac5d75a3467
treea86b62f3d07c204b0927a6128b2133a3aa7de755
parentbd327627f6c0a8acb2674aea8ccb2ecb776345f4
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