Re: Fix a couple of misuages of bms_num_members() - Mailing list pgsql-hackers

From Tomas Vondra
Subject Re: Fix a couple of misuages of bms_num_members()
Date
Msg-id 20200825131802.v6diaoslgcea2xe4@development
Whole thread Raw
In response to Fix a couple of misuages of bms_num_members()  (David Rowley <dgrowleyml@gmail.com>)
Responses Re: Fix a couple of misuages of bms_num_members()
List 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 by date:

Previous
From: Amit Kapila
Date:
Subject: Re: PATCH: logical_work_mem and logical streaming of large in-progress transactions
Next
From: Ranier Vilela
Date:
Subject: [PATCH] Resource leaks (src/backend/libpq/hba.c)