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

From Heikki Linnakangas
Subject pgsql: Fix comment on B-tree insertion fastpath condition.
Date
Msg-id E1f5tn9-0007fu-8s@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Fix comment on B-tree insertion fastpath condition.  (Pavan Deolasee <pavan.deolasee@gmail.com>)
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Teodor Sigaev
Date:
Subject: Re: pgsql: Fix behavior of ~> (cube, int) operator
Next
From: Pavan Deolasee
Date:
Subject: Re: pgsql: Fix comment on B-tree insertion fastpath condition.