Re: Don't use bms_membership in places where it's not needed

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: Richard Guo <guofenglinux(at)gmail(dot)com>
Cc: PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Don't use bms_membership in places where it's not needed
Date: 2023-11-27 21:43:00
Message-ID: CAApHDvpAwpEmxN68gvEkkf7=LB28NdLndmi+GwX+ECGr7-P8dQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 24 Nov 2023 at 19:54, Richard Guo <guofenglinux(at)gmail(dot)com> wrote:
> +1 to the idea.
>
> I think you have a typo in distribute_restrictinfo_to_rels. We should
> remove the call of bms_singleton_member and use relid instead.

Thanks for reviewing. I've now pushed this.

David

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2023-11-27 22:06:07 Re: logical decoding and replication of sequences, take 2
Previous Message Magnus Hagander 2023-11-27 21:37:06 Re: proposal: change behavior on collation version mismatch