]> granicus.if.org Git - postgresql/commit
Correct nbtsplitloc.c comment.
authorPeter Geoghegan <pg@bowt.ie>
Mon, 15 Jul 2019 21:35:05 +0000 (14:35 -0700)
committerPeter Geoghegan <pg@bowt.ie>
Mon, 15 Jul 2019 21:35:05 +0000 (14:35 -0700)
commitac37bd51a4227683529f37148d6aefc95c837abb
tree110def87d9c7a07d13ad172622134053264889a4
parent2f23453e492955c32d952bc1cff651e66657d32b
Correct nbtsplitloc.c comment.

The logic just added by commit e3899ffd falls back on a 50:50 page split
in the event of a new item that's just to the right of our provisional
"many duplicates" split point.  Fix a comment that incorrectly claimed
that the new item had to be just to the left of our provisional split
point.

Backpatch: 12-, just like commit e3899ffd.
src/backend/access/nbtree/nbtsplitloc.c