Re: move some bitmapset.c macros to bitmapset.h

Поиск
Список
Период
Сортировка
От John Naylor
Тема Re: move some bitmapset.c macros to bitmapset.h
Дата
Msg-id CAFBsxsETgh=ybRshcCSnLoGmRdRUAqKtps0kjJOfb8fA+xx67Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: move some bitmapset.c macros to bitmapset.h  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: move some bitmapset.c macros to bitmapset.h  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

On Tue, Dec 6, 2022 at 12:57 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:

> > Well, they've already escaped to tidbitmap.c as a copy. How do you feel
> > about going that route?
>
> Not terribly pleased with that either, I must admit.

Okay, I won't pursue that further.

> If we do put RIGHTMOST_ONE functionality into pg_bitutils.h,
> I'd envision it as pg_bitutils.h exporting both 32-bit and
> 64-bit versions of that, and then bitmapset.c choosing the
> appropriate one just like it chooses bmw_rightmost_one_pos.

Here's a quick go at that. I've not attempted to use it for what I need, but it looks like it fits the bill.

--
John Naylor
EDB: http://www.enterprisedb.com
Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: move some bitmapset.c macros to bitmapset.h
Следующее
От: "shiy.fnst@fujitsu.com"
Дата:
Сообщение: Force streaming every change in logical decoding