pgsql: Avoid a few more SET DATA TYPE table rewrites.

Lists: pgsql-committers
From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Avoid a few more SET DATA TYPE table rewrites.
Date: 2011-02-15 04:40:21
Message-ID: E1PpCi5-0005St-N1@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-committers

Avoid a few more SET DATA TYPE table rewrites.

When the new type is an unconstrained domain over the old type, we don't
need to rewrite the table.

Noah Misch and Robert Haas

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/0d90dc16f87bd991d7eb9f536ca46acef7586d95

Modified Files
--------------
doc/src/sgml/ref/alter_table.sgml | 15 ++++++++-------
src/backend/commands/tablecmds.c | 20 ++++++++++++++++----
2 files changed, 24 insertions(+), 11 deletions(-)