aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2024-03-15 07:57:17 +0900
committerMichael Paquier <michael@paquier.xyz>2024-03-15 07:57:17 +0900
commitcc5ef90edd809eaf85e11a0ee251229bbf7ce798 (patch)
treece2a431df14bbcfeaa208e408937854b9fbe640b /src/backend/executor
parent4169850f0b6fc98a5f28d2b0ca4c3a4c1ecf4553 (diff)
downloadpostgresql-cc5ef90edd809eaf85e11a0ee251229bbf7ce798.tar.gz
postgresql-cc5ef90edd809eaf85e11a0ee251229bbf7ce798.zip
Refactor initial hash lookup in dynahash.c
The same pattern is used three times in dynahash.c to retrieve a bucket number and a hash bucket from a hash value. This has popped up while discussing improvements for the type cache, where this piece of refactoring would become useful. Note that hash_search_with_hash_value() does not need the bucket number, just the hash bucket. Author: Teodor Sigaev Reviewed-by: Aleksander Alekseev, Michael Paquier Discussion: https://postgr.es/m/5812a6e5-68ae-4d84-9d85-b443176966a1@sigaev.ru
Diffstat (limited to 'src/backend/executor')
0 files changed, 0 insertions, 0 deletions