Change the signature of dynahash's alloc function
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Author:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2026-03-31T13:55:03Z
Releases:
19 (unreleased)
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/ipc/shmem.c | modified | +14 −2 |
| src/backend/utils/hash/dynahash.c | modified | +27 −25 |
| src/include/utils/hsearch.h | modified | +4 −4 |
Discussion
- Shared hash table allocations 16 messages · 2026-03-27 → 2026-04-03