pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Rowley <david.rowley@2ndquadrant.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Cc: pgsql-committers <pgsql-committers@postgresql.org>
Subject: Re: pgsql: New C function: bms_add_range
Date: Fri, 1 Dec 2017 09:53:54 +1300
Message-ID: <CAKJS1f_0iSiLQsf_c06AzOWAc3eS6ePjjVQFpcFv3W-O5aktnQ@mail.gmail.com> (raw)
In-Reply-To: <CA+TgmoYVJLfHb+2nfb5_fmSsTBO8wKoz22o_6=ugWodS_a_xJw@mail.gmail.com>
References: <E1eKAam-0004IT-Tq@gemulon.postgresql.org>
	<778f266c-eda5-dca6-af07-6dff9e2d3dff@lab.ntt.co.jp>
	<CA+TgmoYVJLfHb+2nfb5_fmSsTBO8wKoz22o_6=ugWodS_a_xJw@mail.gmail.com>

On 30 November 2017 at 14:48, Robert Haas <robertmhaas@gmail.com> wrote:
> On Wed, Nov 29, 2017 at 8:27 PM, Amit Langote
> <Langote_Amit_f8@lab.ntt.co.jp> wrote:
>> To be accurate, as also noted in the commit message of the patch that I
>> sent, authors of this patch are David Rowley and Kyotaro Horiguchi.  David
>> came up with the idea and the patch first [1], which Horiguchi-san later
>> commented on to improve the code.  My job has simply been to incorporate
>> their patch in the bigger patch set.
>
> Crap, I apologize.  I looked at the commit message you wrote in
> putting together mine, but I somehow blanked out the fact that you had
> listed David rather than yourself as first author.  That was bad of
> me, and I am sorry.

Unfortunate, but you're forgiven :-p

I've attached a small patch to fix the comment at the head of the
function. I thought I had fixed this, but seems I didn't.

-- 
 David Rowley                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

Attachments:

bms_add_range_comment_fix.patch (application/octet-stream, 724B) download diff --git a/src/backend/nodes/bitmapset.c b/src/backend/nodes/bitmapset.c index e5096e0..ae30072 100644 --- a/src/backend/nodes/bitmapset.c +++ b/src/backend/nodes/bitmapset.c @@ -789,8 +789,8 @@ bms_add_members(Bitmapset *a, const Bitmapset *b) * Add members in the range of 'lower' to 'upper' to the set. * * Note this could also be done by calling bms_add_member in a loop, however, - * using this function will be faster when the range is large as we work with - * at the bitmapword level rather than at bit level. + * using this function will be faster when the range is large as we work at + * the bitmapword level rather than at bit level. */ Bitmapset * bms_add_range(Bitmapset *a, int lower, int upper)

view thread (5+ messages)  latest in thread

Message-ID: <CAKJS1f_0iSiLQsf_c06AzOWAc3eS6ePjjVQFpcFv3W-O5aktnQ@mail.gmail.com>
Permalink:  ../CAKJS1f_0iSiLQsf_c06AzOWAc3eS6ePjjVQFpcFv3W-O5aktnQ@mail.gmail.com/
Also on:    postgresql.org/message-id/CAKJS1f_0iSiLQsf_c06AzOWAc3eS6ePjjVQFpcFv3W-O5aktnQ@mail.gmail.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: david.rowley@2ndquadrant.com, robertmhaas@gmail.com, Langote_Amit_f8@lab.ntt.co.jp
  Subject: Re: pgsql: New C function: bms_add_range
  In-Reply-To: <CAKJS1f_0iSiLQsf_c06AzOWAc3eS6ePjjVQFpcFv3W-O5aktnQ@mail.gmail.com>
  References: <E1eKAam-0004IT-Tq@gemulon.postgresql.org> <778f266c-eda5-dca6-af07-6dff9e2d3dff@lab.ntt.co.jp> <CA+TgmoYVJLfHb+2nfb5_fmSsTBO8wKoz22o_6=ugWodS_a_xJw@mail.gmail.com> <CAKJS1f_0iSiLQsf_c06AzOWAc3eS6ePjjVQFpcFv3W-O5aktnQ@mail.gmail.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