postgresql/src/backend/access
Heikki Linnakangas 8da3183780 Fix error when trying to delete page with half-dead left sibling.
The new page deletion code didn't cope with the case the target page's
right sibling was marked half-dead. It failed a sanity check which checked
that the downlinks in the parent page match the lower level, because a
half-dead page has no downlink. To cope, check for that condition, and
just give up on the deletion if it happens. The vacuum will finish the
deletion of the half-dead page when it gets there, and on the next vacuum
after that the empty can be deleted.

Reported by Jeff Janes.
2014-05-25 18:18:09 -04:00
..
common pgindent run for 9.4 2014-05-06 12:12:18 -04:00
gin Fix bug in lossy-page handling in GIN 2014-05-10 23:28:26 +03:00
gist pgindent run for 9.4 2014-05-06 12:12:18 -04:00
hash pgindent run for 9.4 2014-05-06 12:12:18 -04:00
heap Code review for recent changes in relcache.c. 2014-05-14 14:56:08 -04:00
index pgindent run for 9.4 2014-05-06 12:12:18 -04:00
nbtree Fix error when trying to delete page with half-dead left sibling. 2014-05-25 18:18:09 -04:00
rmgrdesc pgindent run for 9.4 2014-05-06 12:12:18 -04:00
spgist pgindent run for 9.4 2014-05-06 12:12:18 -04:00
transam Fix a bunch of functions that were declared static then defined not-static. 2014-05-17 17:57:53 -04:00
Makefile Split out rmgr rm_desc functions into their own files 2012-11-28 13:01:15 -03:00