forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5f55fc5
committed
Demote pg_unreachable() in heapam to an assertion.
Commitd168b66, which overhauled index deletion, added apg_unreachable() to the end of a sort comparator used when sorting heapTIDs from an index page. This allows the compiler to applyoptimizations that assume that the heap TIDs from the index AM mustalways be unique.That doesn't seem like a good idea now, given recent reports ofcorruption involving duplicate TIDs in indexes on Postgres 14. Demoteto an assertion, just in case.Backpatch: 14-, where index deletion was overhauled.1 parenta2a731d commit5f55fc5
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7586 | 7586 |
| |
7587 | 7587 |
| |
7588 | 7588 |
| |
7589 |
| - | |
| 7589 | + | |
7590 | 7590 |
| |
7591 | 7591 |
| |
7592 | 7592 |
| |
|
0 commit comments
Comments
(0)