pgsql: Fix pg_dump to dump shell types.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix pg_dump to dump shell types.
Дата
Msg-id E1ZMljD-0006bX-Fi@gemulon.postgresql.org
обсуждение исходный текст
Ответы Re: pgsql: Fix pg_dump to dump shell types.  (Andrew Dunstan <andrew@dunslane.net>)
Список 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_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/5d175be17b46374f7aaf15b2fc6b0ac5d75a3467

Modified Files
--------------
src/bin/pg_dump/pg_dump.c                 |   68 ++++++++++++++++++++++++++---
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, 68 insertions(+), 7 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix pg_dump to dump shell types.
Следующее
От: pgsql@postgresql.org
Дата:
Сообщение: pgsql: Tag refs/tags/REL9_5_ALPHA2 was created