pgsql: Fix binary upgrade of altered typed tables

Started by Peter Eisentrautabout 15 years ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

Fix binary upgrade of altered typed tables

Instead of dumping them as CREATE TABLE ... OF, dump them as normal
tables with the usual special processing for dropped columns, and then
attach them to the type afterward, using ALTER TABLE ... OF. This is
analogous to the existing handling of inherited tables.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b2ef8929ae1c1b65f4b9582409463a9a2f009706

Modified Files
--------------
src/bin/pg_dump/pg_dump.c | 21 +++++++++++++++++----
1 files changed, 17 insertions(+), 4 deletions(-)