forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5e6716c
committed
Remove overzealous index deletion assertion.
A broken HOT chain is not an unexpected condition, even when the offsetnumber points past the end of the page's line pointer array.heap_prune_chain() does not (and never has) treated this condition asunexpected, so derivative code in heap_index_delete_tuples() shouldn'tdo so either.Oversight in commit4228817.The assertion can probably only fail on Postgres 14 and master. Earlierreleases don't have commit3c3b8a4, which taught VACUUM to truncate theline pointer array of heap pages. Backpatch all the same, just to beconsistent.Author: Peter Geoghegan <pg@bowt.ie>Reported-By: Alexander Lakhin <exclusion@gmail.com>Discussion:https://postgr.es/m/17197-9438f31f46705182@postgresql.orgBackpatch: 12-, just like commit4228817.1 parent6b95016 commit5e6716c
1 file changed
+0
-3
lines changedLines changed: 0 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7485 | 7485 |
| |
7486 | 7486 |
| |
7487 | 7487 |
| |
7488 |
| - | |
7489 |
| - | |
7490 | 7488 |
| |
7491 |
| - | |
7492 | 7489 |
| |
7493 | 7490 |
| |
7494 | 7491 |
| |
|
0 commit comments
Comments
(0)