-
- Downloads
Restore REINDEX constraint validation.
Refactoring as part of commit 8ceb2456 had the unintended effect of making REINDEX TABLE and REINDEX DATABASE no longer validate constraints enforced by the indexes in question; REINDEX INDEX still did so. Indexes marked invalid remained so, and constraint violations arising from data corruption went undetected. Back-patch to 9.0, like the causative commit.
Showing
- src/backend/commands/indexcmds.c 6 additions, 2 deletionssrc/backend/commands/indexcmds.c
- src/test/regress/expected/create_index.out 23 additions, 3 deletionssrc/test/regress/expected/create_index.out
- src/test/regress/sql/create_index.sql 7 additions, 4 deletionssrc/test/regress/sql/create_index.sql
Loading
Please register or sign in to comment