Thread: pgsql: Fix comment on B-tree insertion fastpath condition.

pgsql: Fix comment on B-tree insertion fastpath condition.

From
Heikki Linnakangas
Date:
Fix comment on B-tree insertion fastpath condition.

The comment earlier in the function correctly states "and the insertion
key is strictly greater than the first key in this page". That is what
we check here, not "greater than or equal".

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/29d7ebf51ee33e1711fc9681f273f3de2da76ebf

Modified Files
--------------
src/backend/access/nbtree/nbtinsert.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)


Re: pgsql: Fix comment on B-tree insertion fastpath condition.

From
Pavan Deolasee
Date:


On Tue, Apr 10, 2018 at 7:28 PM, Heikki Linnakangas <heikki.linnakangas@iki.fi> wrote:
Fix comment on B-tree insertion fastpath condition.

The comment earlier in the function correctly states "and the insertion
key is strictly greater than the first key in this page". That is what
we check here, not "greater than or equal".


This was part of the follow-on patch that I'd sent (which needs a little more adjustments based on Peter's feedback). But thanks for taking care of it anyways.

Thanks,
Pavan

--
 Pavan Deolasee                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services