pgsql: Revert "Speed up tail processing when hashing aligned C strings, - Mailing list pgsql-committers

From John Naylor
Subject pgsql: Revert "Speed up tail processing when hashing aligned C strings,
Date
Msg-id E1td21s-004A8W-Pa@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Revert "Speed up tail processing when hashing aligned C strings, take two"

This reverts commit a365d9e2e8c1ead27203a4431211098292777d3b.

Older versions of Valgrind raise an error, so go back to the bytewise
loop for the final word in the input.

Reported-by: Anton A. Melnikov <a.melnikov@postgrespro.ru>
Discussion: https://postgr.es/m/a3a959f6-14b8-4819-ac04-eaf2aa2e868d@postgrespro.ru
Backpatch-through: 17

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6555fe19791476b034179149e33760b07f676c87

Modified Files
--------------
src/include/common/hashfn_unstable.h | 46 ++++++++----------------------------
1 file changed, 10 insertions(+), 36 deletions(-)


pgsql-committers by date:

Previous
From: John Naylor
Date:
Subject: pgsql: Revert "Speed up tail processing when hashing aligned C strings,
Next
From: John Naylor
Date:
Subject: pgsql: Fix grammatical typos around possessive "its"