forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbd9f4cf
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 parent0c8a40b commitbd9f4cf
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7579 | 7579 |
| |
7580 | 7580 |
| |
7581 | 7581 |
| |
7582 |
| - | |
| 7582 | + | |
7583 | 7583 |
| |
7584 | 7584 |
| |
7585 | 7585 |
| |
|
0 commit comments
Comments
(0)