Re: Fix a couple of misuages of bms_num_members()

Поиск
Список
Период
Сортировка
От Tomas Vondra
Тема Re: Fix a couple of misuages of bms_num_members()
Дата
Msg-id 20200825131802.v6diaoslgcea2xe4@development
обсуждение исходный текст
Ответ на Fix a couple of misuages of bms_num_members()  (David Rowley <dgrowleyml@gmail.com>)
Ответы Re: Fix a couple of misuages of bms_num_members()  (David Rowley <dgrowleyml@gmail.com>)
Список pgsql-hackers
On Wed, Aug 26, 2020 at 12:51:37AM +1200, David Rowley wrote:
>I noticed today there are a few places where we use bms_num_memebers()
>where we really should be using bms_membership().  These are not bugs,
>they're mostly just bad examples to leave laying around, at best, and
>a small performance penalty, at worst.
>
>Unless there are any objections, I plan to push this to master only in
>about 10 hours time.
>

Seems OK to me. Thanks.


regards

-- 
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: PATCH: logical_work_mem and logical streaming of large in-progress transactions
Следующее
От: Ranier Vilela
Дата:
Сообщение: [PATCH] Resource leaks (src/backend/libpq/hba.c)