summaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeIndexonlyscan.c
diff options
context:
space:
mode:
authorJohn Naylor2024-04-06 09:59:28 +0000
committerJohn Naylor2024-04-06 10:14:28 +0000
commit0c25fee35903ef08af6d6b0c0fdb90fc01e37fa1 (patch)
tree66735d44117e08c0cf07bcb4a2c6c798caff4adf /src/backend/executor/nodeIndexonlyscan.c
parent98f320eb2ef05072b6fe67fcdcdc26c226e6cea4 (diff)
Teach fasthash_accum to use platform endianness for bytewise loads
This function previously used a mix of word-wise loads and bytewise loads. The bytewise loads happened to be little-endian regardless of platform. This in itself is not a problem. However, a future commit will require the same result whether A) the input is loaded as a word with the relevent bytes masked-off, or B) the input is loaded one byte at a time. While at it, improve debuggability of the internal hash state. Discussion: https://postgr.es/m/CANWCAZZpuV1mES1mtSpAq8tWJewbrv4gEz6R_k4gzNG8GZ5gag%40mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeIndexonlyscan.c')
0 files changed, 0 insertions, 0 deletions