pgsql: Further cosmetic review of hashfn_unstable.h - Mailing list pgsql-committers

From John Naylor
Subject pgsql: Further cosmetic review of hashfn_unstable.h
Date
Msg-id E1rXGHk-004u9B-QY@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Further cosmetic review of hashfn_unstable.h

In follow-up to e97b672c8,
* Flesh out comments explaining the incremental interface
* Clarify detection of zero bytes when hashing aligned C strings

The latter was suggested and reviewed by Jeff Davis

Discussion: https://postgr.es/m/48e8f8bbe0be9c789f98776c7438244ab7a7cc63.camel%40j-davis.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b83033c3cff556d520281aaec399e47b4f11edbe

Modified Files
--------------
src/include/common/hashfn_unstable.h | 76 +++++++++++++++++++++++-------------
1 file changed, 49 insertions(+), 27 deletions(-)


pgsql-committers by date:

Previous
From: John Naylor
Date:
Subject: pgsql: Simplify initialization of incremental hash state
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Use atomic access for SlruShared->latest_page_number