Fix "failed to re-find parent key" btree VACUUM failure by tweaking

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 6f48f84874cdee1db01205672274d2f9a56b6843
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-11-01T19:50:03Z
Releases: 8.1.6
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.

Files