pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Geoghegan <pg@bowt.ie>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Correct nbtsplitloc.c comment.
Date: Mon, 15 Jul 2019 21:35:37 +0000
Message-ID: <E1hn8dF-00040v-5b@gemulon.postgresql.org> (raw)

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
------
REL_12_STABLE

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

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



view thread (2+ messages)

Message-ID: <E1hn8dF-00040v-5b@gemulon.postgresql.org>
Permalink:  ../E1hn8dF-00040v-5b@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hn8dF-00040v-5b@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: pg@bowt.ie
  Subject: Re: pgsql: Correct nbtsplitloc.c comment.
  In-Reply-To: <E1hn8dF-00040v-5b@gemulon.postgresql.org>
  References: <E1hn8dF-00040v-5b@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