- Notifications
You must be signed in to change notification settings - Fork5
Commit9ad7e15
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 parent5b8e442 commit9ad7e15
1 file changed
+10
-3
lines changedLines changed: 10 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2800 | 2800 |
| |
2801 | 2801 |
| |
2802 | 2802 |
| |
2803 |
| - | |
| 2803 | + | |
| 2804 | + | |
| 2805 | + | |
| 2806 | + | |
| 2807 | + | |
| 2808 | + | |
2804 | 2809 |
| |
2805 | 2810 |
| |
2806 | 2811 |
| |
| |||
2825 | 2830 |
| |
2826 | 2831 |
| |
2827 | 2832 |
| |
2828 |
| - | |
2829 |
| - | |
2830 | 2833 |
| |
2831 | 2834 |
| |
| 2835 | + | |
| 2836 | + | |
| 2837 | + | |
| 2838 | + | |
2832 | 2839 |
| |
2833 | 2840 |
| |
2834 | 2841 |
| |
|
0 commit comments
Comments
(0)