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

From: Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)com>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
Cc: pgsql-committers <pgsql-committers(at)lists(dot)postgresql(dot)org>
Subject: Re: pgsql: Fix comment on B-tree insertion fastpath condition.
Date: 2018-04-10 14:01:46
Message-ID: CABOikdN8W-ACTV4GopyRA48bVO7grGqEgvhVCWnP+LWhevyOWQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Tue, Apr 10, 2018 at 7:28 PM, Heikki Linnakangas <
heikki(dot)linnakangas(at)iki(dot)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

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2018-04-10 15:14:17 Re: pgsql: Support partition pruning at execution time
Previous Message Heikki Linnakangas 2018-04-10 13:58:35 pgsql: Fix comment on B-tree insertion fastpath condition.