Re: [PATCH] Add tests for Bitmapset - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [PATCH] Add tests for Bitmapset
Date
Msg-id CA+TgmobSF4J_JWKdX=MWbG134Bn3OZ8LJyBP-_RQCykB=geaJw@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Add tests for Bitmapset  (Greg Burd <greg@burd.me>)
Responses Re: [PATCH] Add tests for Bitmapset
List pgsql-hackers
On Wed, Sep 17, 2025 at 9:18 AM Greg Burd <greg@burd.me> wrote:
> > +static void
> > +elog_bitmapset(int elevel, const char *label, const Bitmapset *bms)
> >
>
> I added a function bms_values() that prints out the values contained in
> a bitmapset and changed a few tests to use it.  I removed the
> elog_bitmapset() as it isn't being used and now that it's easy to output
> the set in SQL why keep it for debugging?

How about using outBitmapset() which already exists?

--
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: REPACK and naming
Next
From: Mihail Nikalayeu
Date:
Subject: Re: REPACK and naming