forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit16f38f7
committed
Restore REINDEX constraint validation.
Refactoring as part of commit8ceb245had the unintended effect of making REINDEX TABLE and REINDEX DATABASEno longer validate constraints enforced by the indexes in question;REINDEX INDEX still did so. Indexes marked invalid remained so, andconstraint violations arising from data corruption went undetected.Back-patch to 9.0, like the causative commit.1 parent000b65f commit16f38f7
File tree
3 files changed
+36
-9
lines changed- src
- backend/commands
- test/regress
- expected
- sql
3 files changed
+36
-9
lines changedLines changed: 6 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1768 | 1768 |
| |
1769 | 1769 |
| |
1770 | 1770 |
| |
1771 |
| - | |
| 1771 | + | |
| 1772 | + | |
| 1773 | + | |
1772 | 1774 |
| |
1773 | 1775 |
| |
1774 | 1776 |
| |
| |||
1884 | 1886 |
| |
1885 | 1887 |
| |
1886 | 1888 |
| |
1887 |
| - | |
| 1889 | + | |
| 1890 | + | |
| 1891 | + | |
1888 | 1892 |
| |
1889 | 1893 |
| |
1890 | 1894 |
| |
|
Lines changed: 23 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2298 | 2298 |
| |
2299 | 2299 |
| |
2300 | 2300 |
| |
2301 |
| - | |
2302 |
| - | |
2303 |
| - | |
| 2301 | + | |
| 2302 | + | |
| 2303 | + | |
| 2304 | + | |
| 2305 | + | |
| 2306 | + | |
| 2307 | + | |
2304 | 2308 |
| |
2305 | 2309 |
| |
2306 | 2310 |
| |
| |||
2316 | 2320 |
| |
2317 | 2321 |
| |
2318 | 2322 |
| |
| 2323 | + | |
| 2324 | + | |
| 2325 | + | |
| 2326 | + | |
| 2327 | + | |
| 2328 | + | |
| 2329 | + | |
| 2330 | + | |
| 2331 | + | |
| 2332 | + | |
| 2333 | + | |
| 2334 | + | |
| 2335 | + | |
| 2336 | + | |
| 2337 | + | |
| 2338 | + | |
2319 | 2339 |
| |
2320 | 2340 |
| |
2321 | 2341 |
| |
|
Lines changed: 7 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
721 | 721 |
| |
722 | 722 |
| |
723 | 723 |
| |
724 |
| - | |
725 |
| - | |
726 |
| - | |
727 |
| - | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
728 | 731 |
| |
729 | 732 |
| |
730 | 733 |
| |
|
0 commit comments
Comments
(0)