Use ShmemInitStruct to allocate shmem for semaphores
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Author:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2026-03-30T20:39:35Z
Releases:
19 (unreleased)
Use ShmemInitStruct to allocate shmem for semaphores This makes them visible in pg_shmem_allocations 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/port/posix_sema.c | modified | +3 −1 |
| src/backend/port/sysv_sema.c | modified | +4 −1 |
Discussion
- Shared hash table allocations 16 messages · 2026-03-27 → 2026-04-03