postgresql/src/backend/utils
Nathan Bossart 025e7e1eb4 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
2025-03-12 15:01:52 -05:00
..
activity Remove initialization from PendingBackendStats 2025-03-12 20:37:43 +09:00
adt Remove count_one_bits() in acl.c. 2025-03-12 15:01:52 -05:00
cache Assert that a snapshot is active or registered before it's used 2025-03-11 23:20:34 +02:00
error Remove various unnecessary (char *) casts 2025-02-20 19:49:27 +01:00
fmgr Remove unneeded volatile qualifier in fmgr.c. 2025-02-12 15:45:40 -06:00
hash Update copyright for 2025 2025-01-01 11:21:55 -05:00
init Add connection establishment duration logging 2025-03-12 11:35:27 -04:00
mb Update copyright for 2025 2025-01-01 11:21:55 -05:00
misc Increase default effective_io_concurrency to 16 2025-03-12 15:57:44 -04:00
mmgr Add more assertions in palloc0() and palloc_extended() 2025-03-04 10:53:10 +09:00
resowner Update copyright for 2025 2025-01-01 11:21:55 -05:00
sort Allow parallel CREATE INDEX for GIN indexes 2025-03-03 16:53:06 +01:00
time Improve snapmgr.c comment 2025-03-11 23:28:38 +02:00
.gitignore Rearrange makefile rules for running Gen_fmgrtab.pl. 2018-05-03 17:54:18 -04:00
errcodes.txt Update copyright for 2025 2025-01-01 11:21:55 -05:00
Gen_dummy_probes.pl Update copyright for 2025 2025-01-01 11:21:55 -05:00
Gen_fmgrtab.pl Update copyright for 2025 2025-01-01 11:21:55 -05:00
generate-errcodes.pl Update copyright for 2025 2025-01-01 11:21:55 -05:00
Makefile Update copyright for 2025 2025-01-01 11:21:55 -05:00
meson.build Update copyright for 2025 2025-01-01 11:21:55 -05:00
postprocess_dtrace.sed Update copyright for 2025 2025-01-01 11:21:55 -05:00
probes.d Update copyright for 2025 2025-01-01 11:21:55 -05:00