pgsql: Fix pg_dump to dump shell types.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix pg_dump to dump shell types.
Date: 2015-08-04 23:34:39
Message-ID: E1ZMljD-0006bT-FY@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/270a877cca21cf0252ae7c81dd085ae61233ab56

Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 74 ++++++++++++++++++++++++++---
src/bin/pg_dump/pg_dump.h | 2 +-
src/test/regress/expected/create_type.out | 2 +
src/test/regress/sql/create_type.sql | 3 ++
4 files changed, 74 insertions(+), 7 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message pgsql 2015-08-04 23:46:59 pgsql: Tag refs/tags/REL9_5_ALPHA2 was created
Previous Message Tom Lane 2015-08-04 22:19:07 pgsql: Fix bogus "out of memory" reports in tuplestore.c.