diff options
author | John Naylor <john.naylor@postgresql.org> | 2025-02-24 18:03:29 +0700 |
---|---|---|
committer | John Naylor <john.naylor@postgresql.org> | 2025-02-24 18:03:29 +0700 |
commit | 0600d276d485a8222eb6b571b08889c9f539e86f (patch) | |
tree | 5c1b085957b91c31b00f3e52d285e405313231af /src/backend/utils/misc/guc_tables.c | |
parent | 2421e9a51d20bb83154e54a16ce628f9249fa907 (diff) | |
download | postgresql-0600d276d485a8222eb6b571b08889c9f539e86f.tar.gz postgresql-0600d276d485a8222eb6b571b08889c9f539e86f.zip |
Silence warning in older versions of Valgrind
Due to misunderstanding on my part, commit 235328ee4 did not go far
enough to silence older versions of Valgrind. For those, it was the bit
scan that was problematic, not the subsequent bit-masking operation. To
fix, use the unaligned path for the trailing bytes. Since we don't have
a bit scan here anymore, also remove some comments and endian-specific
coding around that.
Reported-by: Anton A. Melnikov <a.melnikov@postgrespro.ru>
Discussion: https://postgr.es/m/f3aa2d45-3b28-41c5-9499-a1bc30e0f8ec@postgrespro.ru
Backpatch-through: 17
Diffstat (limited to 'src/backend/utils/misc/guc_tables.c')
0 files changed, 0 insertions, 0 deletions