Re: [PATCH] Add tests for Bitmapset

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Greg Burd <greg(at)burd(dot)me>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Nathan Bossart <nathandbossart(at)gmail(dot)com>, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
Subject: Re: [PATCH] Add tests for Bitmapset
Date: 2025-09-17 13:55:12
Message-ID: CA+TgmobSF4J_JWKdX=MWbG134Bn3OZ8LJyBP-_RQCykB=geaJw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Sep 17, 2025 at 9:18 AM Greg Burd <greg(at)burd(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Mihail Nikalayeu 2025-09-17 14:05:33 Re: REPACK and naming
Previous Message David G. Johnston 2025-09-17 13:48:11 Re: REPACK and naming