aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistxlog.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-08-30 23:47:46 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2012-08-30 23:47:46 -0400
commitd2528e5dbf1ad6e391f40712a27d4d199b43100d (patch)
tree4414d3598c53c44b777aa18790621d76dea44267 /src/backend/access/gist/gistxlog.c
parentd561fc5396e537452065c3531cb43edf11a8dbf0 (diff)
downloadpostgresql-d2528e5dbf1ad6e391f40712a27d4d199b43100d.tar.gz
postgresql-d2528e5dbf1ad6e391f40712a27d4d199b43100d.zip
Back-patch recent fixes for gistchoose and gistRelocateBuildBuffersOnSplit.
This back-ports commits c8ba697a4bdb934f0c51424c654e8db6133ea255 and e5db11c5582b469c04a11f217a0f32c827da5dd7, which fix one definite and one speculative bug in gistchoose, and make the code a lot more intelligible as well. In 9.2 only, this also affects the largely-copied-and-pasted logic in gistRelocateBuildBuffersOnSplit. The impact of the bugs was that the functions might make poor decisions as to which index tree branch to push a new entry down into, resulting in GiST index bloat and poor performance. The fixes rectify these decisions for future insertions, but a REINDEX would be needed to clean up any existing index bloat. Alexander Korotkov, Robert Haas, Tom Lane
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions