pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
To: Peter Geoghegan <pg@bowt.ie>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Pavan Deolasee <pavan.deolasee@gmail.com>
Cc: pgsql-committers <pgsql-committers@lists.postgresql.org>
Subject: Re: pgsql: Optimize btree insertions for common case of increasing values
Date: Tue, 10 Apr 2018 18:37:54 -0400
Message-ID: <d43ca132-132a-709f-cb44-ed913f68067f@2ndQuadrant.com> (raw)
In-Reply-To: <CAH2-Wzkekg9G294UnCJfTZAVpO2US_g+-JQqFmcsZW_y5o6Mcg@mail.gmail.com>
References: <E1f0Qx3-0004Z5-KN@gemulon.postgresql.org>
	<CAH2-WzmpBA3TVtQCkkupVhxJ7DNsaosnmB9Maiogw0K58BKCKg@mail.gmail.com>
	<CABOikdMCoXG3pMU7zUjO2wdVudvZ-5SzD7McedzRbitN_VvuUQ@mail.gmail.com>
	<CAH2-Wz=PUWeMajanORdp_cOfe3Z0CVQvzLnKRtN_3OKfMbqPHg@mail.gmail.com>
	<CAH2-Wzmh_sxhXYfqhpkD6t+C3K57TRDOMXKdG-NQ6qvjnuW37g@mail.gmail.com>
	<CABOikdOm+psQKOB0fRg9YFnVnD+-e3H57yN6hY=HhUKN_TYnbQ@mail.gmail.com>
	<CAH2-Wzm_i6TkxppTsT7ZwkGBfaa9fgZrFaW99909-+qYy2BFUA@mail.gmail.com>
	<CABOikdNoffgt3XkSKPipawi1QYXxEgs67ZV9OsTVEb6jpQN+iw@mail.gmail.com>
	<CAH2-WzkpJd5TP6uRCqa473mzZCNsVk5KjE3xrs-4=FfFiAMHog@mail.gmail.com>
	<CAH2-Wzm171z4Q7=waBeTRyZp9-JPYwEYLCWWoTvr9_YzCQeEAQ@mail.gmail.com>
	<CABOikdO8jhRarNC60nZLktZYhxt+TK8z_V97+Ny499YQdyAfug@mail.gmail.com>
	<CAH2-Wz=whBsrnmF=CJKBBG=K1euAfmWRg4gx_M=6R+w7Y=d5vw@mail.gmail.com>
	<d505a996-8c8e-4f81-9125-85937e00d2f2@dunslane.net>
	<CAH2-Wzkekg9G294UnCJfTZAVpO2US_g+-JQqFmcsZW_y5o6Mcg@mail.gmail.com>



On 04/10/2018 06:33 PM, Peter Geoghegan wrote:
> On Tue, Apr 10, 2018 at 3:27 PM, Andrew Dunstan <andrew@dunslane.net> wrote:
>> Committed with light editing. I didn't put the #define in the .h file -
>> it's only used here and that seemed like unnecessary clutter. I moved it
>> to the top of the file. I also standardized the spelling of "optimization".
> The comments still say "Check if the page...no split is in progress".
> Despite the fact that that's just an assertion now.
>

Fixed.

cheers

andrew

-- 
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services





view thread (19+ messages)  latest in thread

Message-ID: <d43ca132-132a-709f-cb44-ed913f68067f@2ndQuadrant.com>
Permalink:  ../d43ca132-132a-709f-cb44-ed913f68067f@2ndQuadrant.com/
Also on:    postgresql.org/message-id/d43ca132-132a-709f-cb44-ed913f68067f@2ndQuadrant.com

 · 

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: andrew.dunstan@2ndquadrant.com, pg@bowt.ie, andrew@dunslane.net, pavan.deolasee@gmail.com
  Subject: Re: pgsql: Optimize btree insertions for common case of increasing values
  In-Reply-To: <d43ca132-132a-709f-cb44-ed913f68067f@2ndQuadrant.com>
  References: <E1f0Qx3-0004Z5-KN@gemulon.postgresql.org> <CAH2-WzmpBA3TVtQCkkupVhxJ7DNsaosnmB9Maiogw0K58BKCKg@mail.gmail.com> <CABOikdMCoXG3pMU7zUjO2wdVudvZ-5SzD7McedzRbitN_VvuUQ@mail.gmail.com> <CAH2-Wz=PUWeMajanORdp_cOfe3Z0CVQvzLnKRtN_3OKfMbqPHg@mail.gmail.com> <CAH2-Wzmh_sxhXYfqhpkD6t+C3K57TRDOMXKdG-NQ6qvjnuW37g@mail.gmail.com> <CABOikdOm+psQKOB0fRg9YFnVnD+-e3H57yN6hY=HhUKN_TYnbQ@mail.gmail.com> <CAH2-Wzm_i6TkxppTsT7ZwkGBfaa9fgZrFaW99909-+qYy2BFUA@mail.gmail.com> <CABOikdNoffgt3XkSKPipawi1QYXxEgs67ZV9OsTVEb6jpQN+iw@mail.gmail.com> <CAH2-WzkpJd5TP6uRCqa473mzZCNsVk5KjE3xrs-4=FfFiAMHog@mail.gmail.com> <CAH2-Wzm171z4Q7=waBeTRyZp9-JPYwEYLCWWoTvr9_YzCQeEAQ@mail.gmail.com> <CABOikdO8jhRarNC60nZLktZYhxt+TK8z_V97+Ny499YQdyAfug@mail.gmail.com> <CAH2-Wz=whBsrnmF=CJKBBG=K1euAfmWRg4gx_M=6R+w7Y=d5vw@mail.gmail.com> <d505a996-8c8e-4f81-9125-85937e00d2f2@dunslane.net> <CAH2-Wzkekg9G294UnCJfTZAVpO2US_g+-JQqFmcsZW_y5o6Mcg@mail.gmail.com> <d43ca132-132a-709f-cb44-ed913f68067f@2ndQuadrant.com>

* 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