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

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix comment on B-tree insertion fastpath condition.
Date: 2018-04-10 13:58:35
Message-ID: E1f5tn9-0007fu-8s@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Pavan Deolasee 2018-04-10 14:01:46 Re: pgsql: Fix comment on B-tree insertion fastpath condition.
Previous Message Tom Lane 2018-04-10 13:46:32 Re: pgsql: Merge catalog/pg_foo_fn.h headers back into pg_foo.h headers.