summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorHeikki Linnakangas2014-09-12 08:23:59 +0000
committerHeikki Linnakangas2014-09-12 08:28:58 +0000
commit79ee6370ee803b36c2649cfb7655affa2c1007f1 (patch)
treeb31ce535e43262b6fe73a4c819cba6ed1898cbc0 /doc/src
parent1c603198a497173b4947fc669fdeda4706b09eb8 (diff)
Fix GIN data page split ratio calculation.
The code that tried to split a page at 75/25 ratio, when appending to the end of an index, was buggy in two ways. First, there was a silly typo that caused it to just fill the left page as full as possible. But the logic as it was intended wasn't correct either, and would actually have given a ratio closer to 60/40 than 75/25. Gaetano Mendola spotted the typo. Backpatch to 9.4, where this code was added.
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions