Fix a couple of misuages of bms_num_members()

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Fix a couple of misuages of bms_num_members()
Date: 2020-08-25 12:51:37
Message-ID: CAApHDvpvwm_QjbDOb5xga+KmX9XkN9xQavNGm3SvDbVnCYOerQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

David

Attachment Content-Type Size
fixup_bms_num_members_misusages.patch application/octet-stream 1.8 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2020-08-25 12:57:31 Re: PATCH: logical_work_mem and logical streaming of large in-progress transactions
Previous Message Ashutosh Sharma 2020-08-25 12:38:38 Re: recovering from "found xmin ... from before relfrozenxid ..."