Thomas Munro <[email protected]> writes:
> On Thu, Jul 21, 2022 at 1:34 AM Tom Lane <[email protected]> wrote:
>> How is it sane to ask for a segment bin for zero pages?  Seems like
>> something should have short-circuited such a case well before here.

> It's intended.  There are two ways you can arrive here with n == 0:

OK.

>> We could have pg_bitutils.h #define pg_leftmost_one_pos_size_t
>> as the appropriate one of pg_leftmost_one_pos32/64, perhaps.

> Yeah.

Patches look good to me.

                        regards, tom lane


Reply via email to