postgresql/src/backend
Tom Lane 70ce5c9082 Fix "failed to re-find parent key" btree VACUUM failure by revising page
deletion code to avoid the case where an upper-level btree page remains "half
dead" for a significant period of time, and to block insertions into a key
range that is in process of being re-assigned to the right sibling of the
deleted page's parent.  This prevents the scenario reported by Ed L. wherein
index keys could become out-of-order in the grandparent index level.

Since this is a moderately invasive fix, I'm applying it only to HEAD.
The bug exists back to 7.4, but the back branches will get a different patch.
2006-11-01 19:43:17 +00:00
..
access Fix "failed to re-find parent key" btree VACUUM failure by revising page 2006-11-01 19:43:17 +00:00
bootstrap pgindent run for 8.2. 2006-10-04 00:30:14 +00:00
catalog Clean up local redeclarations of variables with DLLIMPORT, per report 2006-10-19 18:32:48 +00:00
commands Fix a couple of places that were assuming debug_query_string couldn't 2006-10-19 19:53:03 +00:00
executor Fix mishandling of after-trigger state when a SQL function returns multiple 2006-10-12 17:02:24 +00:00
lib Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
libpq Try to fix the AIX getaddrinfo mess in a way that works on all versions. 2006-10-19 23:17:39 +00:00
main pgindent run for 8.2. 2006-10-04 00:30:14 +00:00
nodes Code and docs review for ALTER TABLE INHERIT/NO INHERIT patch. 2006-10-13 21:43:19 +00:00
optimizer expression_tree_walker failed to let walker function see the immediate child 2006-10-25 22:11:32 +00:00
parser Code and docs review for ALTER TABLE INHERIT/NO INHERIT patch. 2006-10-13 21:43:19 +00:00
po Translations update 2006-10-21 21:03:04 +00:00
port Fix infinite sleep and failes of send in Win32. 2006-10-13 13:59:47 +00:00
postmaster Message style improvements 2006-10-06 17:14:01 +00:00
regex Re-run pgindent, fixing a problem where comment lines after a blank 2005-11-22 18:17:34 +00:00
rewrite Message style improvements 2006-10-06 17:14:01 +00:00
storage Remove an unnecessary HOLD_INTERRUPTS/RESUME_INTERRUPTS pair. 2006-10-22 20:34:54 +00:00
tcop Marginal improvement in logging: include the function name when logging 2006-10-19 22:44:11 +00:00
utils Clean up local redeclarations of variables with DLLIMPORT, per report 2006-10-19 18:32:48 +00:00
Makefile On Windows, we know the backend stack size limit because we have to 2006-10-08 17:15:34 +00:00
nls.mk Add _ to gettext triggers. Must have been forgotten here when it was introduced. 2005-10-04 11:14:03 +00:00