Re: Add bms_offset_members() function for bitshifting Bitmapsets - Mailing list pgsql-hackers

From David Rowley
Subject Re: Add bms_offset_members() function for bitshifting Bitmapsets
Date
Msg-id CAApHDvqOgtX2MqaPmPmPET7=ySszzuoP3MLSUbWZit_V30VBLg@mail.gmail.com
Whole thread
In response to Re: Add bms_offset_members() function for bitshifting Bitmapsets  ("Greg Burd" <greg@burd.me>)
Responses Re: Add bms_offset_members() function for bitshifting Bitmapsets
List pgsql-hackers
On Mon, 20 Apr 2026 at 07:22, Greg Burd <greg@burd.me> wrote:
> I applied, tested, and reviewed these changes.  Thanks for doing this, only a few small things jumped out.

Many thanks. I took all of those suggestions.

> SELECT test_bms_offset_members('(b 1)', -2147483648);

I made that one use member 0 instead of 1.  That'll mean "new_highest"
goes to INT_MIN rather than INT_MIN + 1.

David

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: some extra warnings from MSVC
Next
From: Dmitry Koval
Date:
Subject: Re: MERGE PARTITIONS and DEPENDS ON EXTENSION.