Commit c370125
committed
During index build, check and elog (not just Assert) for broken HOT chain.
The recently-fixed bug in WAL replay could result in not finding a parent
tuple for a heap-only tuple. The existing code would either Assert or
generate an invalid index entry, neither of which is desirable. Throw a
regular error instead.1 parent 3857234 commit c370125
1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2476 | 2476 | | |
2477 | 2477 | | |
2478 | 2478 | | |
2479 | | - | |
| 2479 | + | |
| 2480 | + | |
| 2481 | + | |
| 2482 | + | |
2480 | 2483 | | |
2481 | 2484 | | |
2482 | 2485 | | |
| |||
2891 | 2894 | | |
2892 | 2895 | | |
2893 | 2896 | | |
2894 | | - | |
| 2897 | + | |
| 2898 | + | |
| 2899 | + | |
| 2900 | + | |
| 2901 | + | |
2895 | 2902 | | |
2896 | 2903 | | |
2897 | 2904 | | |
| |||
0 commit comments