Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f5tqi-0004zX-EF for pgsql-committers@arkaria.postgresql.org; Tue, 10 Apr 2018 14:02:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f5tqh-00082X-5x for pgsql-committers@arkaria.postgresql.org; Tue, 10 Apr 2018 14:02:15 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f5tqg-00082O-Tx for pgsql-committers@lists.postgresql.org; Tue, 10 Apr 2018 14:02:15 +0000 Received: from mail-oi0-x22b.google.com ([2607:f8b0:4003:c06::22b]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1f5tqZ-0000WQ-VY for pgsql-committers@lists.postgresql.org; Tue, 10 Apr 2018 14:02:13 +0000 Received: by mail-oi0-x22b.google.com with SMTP id l190-v6so11223183oig.9 for ; Tue, 10 Apr 2018 07:02:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=3tB6zaxPe6ekW45Faeh92b4aX9MvAxDwMDYNbEKhxGE=; b=G0tCB6jPeufn4+b9cUTq6IzxFc30eCgTVLgjKOD3hAoYiMgWrOMhoK5OiUyJaPFnc+ y+TYFndwKv7ZQ6vzYy8K7KfG+m22zyg3RtbWRQ+5dShMmGIvJGUutTQBFtYkqxOcJPCw GWh+2sMe+QvkqPver6MGTc4Eq4CXZNU4/N0a8S6r59UHDQ9ckXwqfBgKZLIXSJJQ2oPv 2d6rAkDjwZaz7ypegpVBgvyGPuMNxUXlkqPHeeG49MtFbwVPV1eIx6DuWI3xc8IJXQfx 5yF/thEMDYmXKkeekUR6j9zG63Ve6Gc4ROim4MfGhNWwCqA/ZS7NsMQdm/+jyY8K7Y+h MVTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=3tB6zaxPe6ekW45Faeh92b4aX9MvAxDwMDYNbEKhxGE=; b=Ke3T+HPagukMGhhoBPCZejWx+tCzXHekiQWoNs5ZZiyhc7S+bzzpKwskgPtRAz3LyG zqkt+FlV+N6KnBR08HGHFdoMDnHXepfe5pgXH+rymtloP206vpPu12jcXW1F2CgZnhUN OPjMxb12JAI9t/VxzJ1nKyONfhSGtcQkrWQVPcVzHqz0jCPNd2EVrejldGBeTzjL1tSl aVxBnR0PwHqz3zdhLam4/0SDMqyQoJ2WSrm9zwbRFCU+QI+4F5vo49GgkHVdoSdU1gkU SwesPsvc9/gcB9MLrYWZzT2zEHpqKdU0PmIc/3EOsM4LyT6MEQ7g68brorBFrqM7xUMl qF5Q== X-Gm-Message-State: ALQs6tBwOrfXrYrwfAvimq2gvA2BzfV2IAdu9BmXK6zlLg506WdM94sZ jZ9NqxogFlcFqguRdeeTwEPGBD5Ev52FtsfcQW/ZDg== X-Google-Smtp-Source: AIpwx4/POl1AaUb2mc1LHaqk9NjSkB9gSGCNrId3FpY7t/MzmlaxNVwZTANpvfQVWziKwNX3C1Pl7Q3CxNSWe6ZougE= X-Received: by 2002:aca:215:: with SMTP id 21-v6mr394091oic.46.1523368927008; Tue, 10 Apr 2018 07:02:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.209.87 with HTTP; Tue, 10 Apr 2018 07:01:46 -0700 (PDT) In-Reply-To: References: From: Pavan Deolasee Date: Tue, 10 Apr 2018 19:31:46 +0530 Message-ID: Subject: Re: pgsql: Fix comment on B-tree insertion fastpath condition. To: Heikki Linnakangas Cc: pgsql-committers Content-Type: multipart/alternative; boundary="000000000000c19d2c05697ef76d" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --000000000000c19d2c05697ef76d Content-Type: text/plain; charset="UTF-8" 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 --000000000000c19d2c05697ef76d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Tue, Apr 10, 2018 at 7:28 PM, Heikki Linnakangas &= lt;heikki.li= nnakangas@iki.fi> wrote:
Fi= x comment on B-tree insertion fastpath condition.

The comment earlier in the function correctly states "and the insertio= n
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 t= hat I'd sent (which needs a little more adjustments based on Peter'= s feedback). But thanks for taking care of it anyways.

=
Thanks,
Pavan

--
=
=C2=A0Pavan Deolasee =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 http://www.2ndQuadrant.com/
=C2=A0PostgreSQL Development= , 24x7 Support, Training & Services
--000000000000c19d2c05697ef76d--