]> granicus.if.org Git - postgresql/commit
Fix "failed to re-find parent key" btree VACUUM failure by tweaking
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 1 Nov 2006 19:50:03 +0000 (19:50 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 1 Nov 2006 19:50:03 +0000 (19:50 +0000)
commit6f48f84874cdee1db01205672274d2f9a56b6843
tree71110183866daab151e41bd856a232728f75bb94
parentecaa7ebed8bd8d6907edcf78f3ba35c41e947043
Fix "failed to re-find parent key" btree VACUUM failure by tweaking
_bt_pagedel to recover from the failure: just search the whole parent level
if searching to the right fails.  This does nothing for the underlying problem
that index keys became out-of-order in the grandparent level.  However, we
believe that there is no other consequence worse than slightly inefficient
searching, so this narrow patch seems like the safest solution for the back
branches.
src/backend/access/nbtree/README
src/backend/access/nbtree/nbtinsert.c
src/backend/access/nbtree/nbtpage.c