Re: Use pg_nextpower2_* in a few more places

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: Use pg_nextpower2_* in a few more places
Дата
Msg-id CAApHDvo2wieSC0CnUzjC1MkwOmd1sUm8Mxp-Jz8F4C2CXfsy6g@mail.gmail.com
обсуждение исходный текст
Ответ на Use pg_nextpower2_* in a few more places  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-hackers
On Sun, 13 Jun 2021 at 00:31, David Rowley <dgrowleyml@gmail.com> wrote:
>
> Back in f0705bb62, we added pg_nextpower2_32 and pg_nextpower2_64 to
> efficiently obtain the next power of 2 of a given number using an
> intrinsic function to find the left-most 1 bit.
>
> In d025cf88b and 02a2e8b44, I added some usages of these new functions
> but I didn't quite get all of them done.   The attached replaces all
> of the remaining ones that I'm happy enough to go near.

> I'd like to fix these for PG15.

I had another look over this patch and it looks ok to me. I plan to
push it in the next day or so.

David



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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: postgres_fdw - should we tighten up batch_size, fetch_size options against non-numeric values?
Следующее
От: Andrey Borodin
Дата:
Сообщение: Re: Synchronous commit behavior during network outage