pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Fix comment on B-tree insertion fastpath condition.
2+ messages / 2 participants
[nested] [flat]
* pgsql: Fix comment on B-tree insertion fastpath condition.
@ 2018-04-10 13:58 Heikki Linnakangas <heikki.linnakangas@iki.fi>
2018-04-10 14:01 ` Re: pgsql: Fix comment on B-tree insertion fastpath condition. Pavan Deolasee <pavan.deolasee@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Heikki Linnakangas @ 2018-04-10 13:58 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
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(-)
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: pgsql: Fix comment on B-tree insertion fastpath condition.
2018-04-10 13:58 pgsql: Fix comment on B-tree insertion fastpath condition. Heikki Linnakangas <heikki.linnakangas@iki.fi>
@ 2018-04-10 14:01 ` Pavan Deolasee <pavan.deolasee@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Pavan Deolasee @ 2018-04-10 14:01 UTC (permalink / raw)
To: Heikki Linnakangas <heikki.linnakangas@iki.fi>; +Cc: pgsql-committers <pgsql-committers@lists.postgresql.org>
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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2018-04-10 14:01 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-04-10 13:58 pgsql: Fix comment on B-tree insertion fastpath condition. Heikki Linnakangas <heikki.linnakangas@iki.fi>
2018-04-10 14:01 ` Pavan Deolasee <pavan.deolasee@gmail.com>
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