forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit1d6249d
committed
Set indcheckxmin true when REINDEX fixes an invalid or not-ready index.
Per comment from Greg Stark, it's less clear that HOT chains don't conflictwith the index than it would be for a valid index. So, let's preserve theformer behavior that indcheckxmin does get set when there arepotentially-broken HOT chains in this case. This change does not cause anypg_index update that wouldn't have happened anyway, so we're notre-introducing the previous bug with pg_index updates, and surely the caseis not significant from a performance standpoint; so let's be asconservative as possible.1 parent8a6d60f commit1d6249d
1 file changed
+10
-3
lines changedLines changed: 10 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2494 | 2494 |
| |
2495 | 2495 |
| |
2496 | 2496 |
| |
2497 |
| - | |
| 2497 | + | |
| 2498 | + | |
| 2499 | + | |
| 2500 | + | |
| 2501 | + | |
| 2502 | + | |
2498 | 2503 |
| |
2499 | 2504 |
| |
2500 | 2505 |
| |
| |||
2519 | 2524 |
| |
2520 | 2525 |
| |
2521 | 2526 |
| |
2522 |
| - | |
2523 |
| - | |
2524 | 2527 |
| |
2525 | 2528 |
| |
| 2529 | + | |
| 2530 | + | |
| 2531 | + | |
| 2532 | + | |
2526 | 2533 |
| |
2527 | 2534 |
| |
2528 | 2535 |
| |
|
0 commit comments
Comments
(0)