pgsql: Fix binary upgrade of altered typed tables - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Fix binary upgrade of altered typed tables
Date
Msg-id E1QFA95-0007lc-PM@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: pgsql: Fix pg_size_pretty() to avoid overflow for inputs close to INT64
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Fix pg_size_pretty() to avoid overflow for inputs close to INT64