Avoid a few more SET DATA TYPE table rewrites.

Robert Haas <rhaas@postgresql.org>

Commit: 0d90dc16f87bd991d7eb9f536ca46acef7586d95
Author: Robert Haas <rhaas@postgresql.org>
Date: 2011-02-15T04:40:05Z
Releases: 9.1.0
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

Files

PathChange+/−
doc/src/sgml/ref/alter_table.sgml modified +8 −7
src/backend/commands/tablecmds.c modified +16 −4