pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix comment on B-tree insertion fastpath condition.
Date: Tue, 10 Apr 2018 13:58:35 +0000
Message-ID: <E1f5tn9-0007fu-8s@gemulon.postgresql.org> (raw)

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(-)



view thread (2+ messages)  latest in thread

Message-ID: <E1f5tn9-0007fu-8s@gemulon.postgresql.org>
Permalink:  ../E1f5tn9-0007fu-8s@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1f5tn9-0007fu-8s@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: heikki.linnakangas@iki.fi
  Subject: Re: pgsql: Fix comment on B-tree insertion fastpath condition.
  In-Reply-To: <E1f5tn9-0007fu-8s@gemulon.postgresql.org>
  References: <E1f5tn9-0007fu-8s@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox