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

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

From
Robert Haas
Date:
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(-)