pgsql: Introduce hash_search_with_hash_value() function - Mailing list pgsql-committers

From Alexander Korotkov
Subject pgsql: Introduce hash_search_with_hash_value() function
Date
Msg-id E1sbXy7-00340L-0P@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Introduce hash_search_with_hash_value() function
Re: pgsql: Introduce hash_search_with_hash_value() function
List pgsql-committers
Introduce hash_search_with_hash_value() function

This new function iterates hash entries with given hash values.  This function
is designed to avoid full sequential hash search in the syscache invalidation
callbacks.

Discussion: https://postgr.es/m/5812a6e5-68ae-4d84-9d85-b443176966a1%40sigaev.ru
Author: Teodor Sigaev
Reviewed-by: Aleksander Alekseev, Tom Lane, Michael Paquier, Roman Zharkov
Reviewed-by: Andrei Lepikhov

Branch
------
master

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

Modified Files
--------------
src/backend/utils/hash/dynahash.c | 38 ++++++++++++++++++++++++++++++++++++++
src/include/utils/hsearch.h       |  5 +++++
2 files changed, 43 insertions(+)


pgsql-committers by date:

Previous
From: noreply@postgresql.org
Date:
Subject: pgsql: Tag refs/tags/REL_16_4 was created
Next
From: Pavel Stehule
Date:
Subject: Re: pgsql: Introduce hash_search_with_hash_value() function