Commit d70cf81
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 d663d43 commit d70cf81
1 file changed
+9
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2438 | 2438 | | |
2439 | 2439 | | |
2440 | 2440 | | |
2441 | | - | |
| 2441 | + | |
| 2442 | + | |
| 2443 | + | |
| 2444 | + | |
2442 | 2445 | | |
2443 | 2446 | | |
2444 | 2447 | | |
| |||
2856 | 2859 | | |
2857 | 2860 | | |
2858 | 2861 | | |
2859 | | - | |
| 2862 | + | |
| 2863 | + | |
| 2864 | + | |
| 2865 | + | |
| 2866 | + | |
2860 | 2867 | | |
2861 | 2868 | | |
2862 | 2869 | | |
| |||
0 commit comments