]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Change the signature of dynahash's alloc function
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 31 Mar 2026 13:55:03 +0000 (16:55 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 31 Mar 2026 13:55:03 +0000 (16:55 +0300)
commit7b424e3108e4745ba7d37e358a1177911fa5a5ad
tree5980b02d05932219e52c28577eba1efe42f9603b
parentdde69621c3248c1c6e623a4f5baa182783ead681
Change the signature of dynahash's alloc function

Instead of passing the current memory context to the alloc function
via a shared variable, pass it directly as an argument.

Reviewed-by: Tomas Vondra <tomas@vondra.me>
Discussion: https://www.postgresql.org/message-id/01ab1d41-3eda-4705-8bbd-af898f5007f1@iki.fi
src/backend/storage/ipc/shmem.c
src/backend/utils/hash/dynahash.c
src/include/utils/hsearch.h