]> granicus.if.org Git - postgresql/commit
Make CheckIndexCompatible simpler and more bullet-proof.
authorRobert Haas <rhaas@postgresql.org>
Wed, 25 Jan 2012 20:28:07 +0000 (15:28 -0500)
committerRobert Haas <rhaas@postgresql.org>
Wed, 25 Jan 2012 20:28:07 +0000 (15:28 -0500)
commit6eb71ac5527a94be443bc66e68b47b04979906e4
tree3f604f0f1ee808de6537ee0ac8db19cf119df244
parent8366c7803ec3d0591cf2d1226fea1fee947d56c3
Make CheckIndexCompatible simpler and more bullet-proof.

This gives up the "don't rewrite the index" behavior in a couple of
relatively unimportant cases, such as changing between an array type
and an unconstrained domain over that array type, in return for
making this code more future-proof.

Noah Misch
src/backend/commands/indexcmds.c
src/test/regress/expected/alter_table.out
src/test/regress/sql/alter_table.sql