Re: Switching to 64-bit Bitmapsets - Mailing list pgsql-hackers

From David Rowley
Subject Re: Switching to 64-bit Bitmapsets
Date
Msg-id CAKJS1f86dQVX1u7JEjUPt3YbV7qm5faV_C9-+6ojy2bf2y4H4g@mail.gmail.com
Whole thread Raw
In response to Re: Switching to 64-bit Bitmapsets  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Switching to 64-bit Bitmapsets  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Thu, 20 Dec 2018 at 17:50, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> David Rowley <david.rowley@2ndquadrant.com> writes:
> > However, I doubt it would take much more effort to maintain
> > using 32-bit sets on 32-bit machines.  If someone feels strongly about
> > that then I can adjust the patch to allow that.
>
> Hm, are you thinking of making BITS_PER_BITMAPWORD match sizeof(Pointer)
> or something like that?  That seems like a good compromise from here.

Yeah, something along those lines.  I've implemented that in the attached.

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

Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: [HACKERS] Block level parallel vacuum
Next
From: Gavin Flower
Date:
Subject: Re: Using POPCNT and other advanced bit manipulation instructions