Introduce hash_search_with_hash_value() function
Alexander Korotkov <akorotkov@postgresql.org>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/hash/dynahash.c | modified | +38 −0 |
| src/include/utils/hsearch.h | modified | +5 −0 |
Discussion
- type cache cleanup improvements 66 messages · 2024-02-29 → 2025-04-29