pgsql: Correct nbtsplitloc.c comment.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Correct nbtsplitloc.c comment.
Date: 2019-07-15 21:35:37
Message-ID: E1hn8dF-00040u-5f@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bfdbac2ab3ef1a12a7de231552b128ed83ad00bb

Modified Files
--------------
src/backend/access/nbtree/nbtsplitloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Thomas Munro 2019-07-15 23:43:30 pgsql: Report the time taken by pgbench initialization steps.
Previous Message Peter Geoghegan 2019-07-15 20:19:30 pgsql: Fix pathological nbtree split point choice issue.