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
Showing
- src/backend/commands/indexcmds.c 50 additions, 55 deletionssrc/backend/commands/indexcmds.c
- src/test/regress/expected/alter_table.out 9 additions, 0 deletionssrc/test/regress/expected/alter_table.out
- src/test/regress/sql/alter_table.sql 8 additions, 0 deletionssrc/test/regress/sql/alter_table.sql
Loading
Please register or sign in to comment