diff options
author | Nathan Bossart <nathan@postgresql.org> | 2025-03-12 15:01:52 -0500 |
---|---|---|
committer | Nathan Bossart <nathan@postgresql.org> | 2025-03-12 15:01:52 -0500 |
commit | 025e7e1eb4b884a187ade19f2ed479b256306a82 (patch) | |
tree | f4e47c7a00b00b57c4f8da5eda27d556c5e08f59 /src/backend/replication/logical/decode.c | |
parent | ff79b5b2aba02d720f9b7fff644dd50ce07b8c6e (diff) | |
download | postgresql-025e7e1eb4b884a187ade19f2ed479b256306a82.tar.gz postgresql-025e7e1eb4b884a187ade19f2ed479b256306a82.zip |
Remove count_one_bits() in acl.c.
The only caller, select_best_grantor(), can instead use
pg_popcount64(). This isn't performance-critical code, but we
might as well use the centralized implementation. While at it, add
some test coverage for this part of select_best_grantor().
Reviewed-by: Álvaro Herrera <alvherre@alvh.no-ip.org>
Discussion: https://postgr.es/m/Z9GtL7Nm6hsYyJnF%40nathan
Diffstat (limited to 'src/backend/replication/logical/decode.c')
0 files changed, 0 insertions, 0 deletions