postgresql/src/backend/utils/cache
John Naylor 4b35408f1e Use bitwise rotate functions in more places
There were a number of places in the code that used bespoke bit-twiddling
expressions to do bitwise rotation. While we've had pg_rotate_right32()
for a while now, we hadn't gotten around to standardizing on that. Do so
now. Since many potential call sites look more natural with the "left"
equivalent, add that function too.

Reviewed by Tom Lane and Yugo Nagata

Discussion:
https://www.postgresql.org/message-id/CAFBsxsH7c1LC0CGZ0ADCBXLHU5-%3DKNXx-r7tHYPAW51b2HK4Qw%40mail.gmail.com
2022-02-20 13:22:08 +07:00
..
attoptcache.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
catcache.c Use bitwise rotate functions in more places 2022-02-20 13:22:08 +07:00
evtcache.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
inval.c Remove xloginsert.h from xlog.h 2022-01-30 12:25:24 -03:00
lsyscache.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
Makefile Split all OBJS style lines in makefiles into one-line-per-entry style. 2019-11-05 14:41:07 -08:00
partcache.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
plancache.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
relcache.c Add UNIQUE null treatment option 2022-02-03 11:48:21 +01:00
relfilenodemap.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
relmapper.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
spccache.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
syscache.c Add stxdinherit flag to pg_statistic_ext_data 2022-01-16 13:38:01 +01:00
ts_cache.c Update copyright for 2022 2022-01-07 19:04:57 -05:00
typcache.c Update copyright for 2022 2022-01-07 19:04:57 -05:00