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

From David Rowley
Subject Fix a couple of misuages of bms_num_members()
Date
Msg-id CAApHDvpvwm_QjbDOb5xga+KmX9XkN9xQavNGm3SvDbVnCYOerQ@mail.gmail.com
Whole thread Raw
Responses Re: Fix a couple of misuages of bms_num_members()  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
List 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

pgsql-hackers by date:

Previous
From: Ashutosh Sharma
Date:
Subject: Re: recovering from "found xmin ... from before relfrozenxid ..."
Next
From: Amit Kapila
Date:
Subject: Re: PATCH: logical_work_mem and logical streaming of large in-progress transactions