Use ShmemInitStruct to allocate shmem for semaphores
This makes them visible in pg_shmem_allocations
Reviewed-by: Tomas Vondra <tomas(at)vondra(dot)me>
Discussion: https://www.postgresql.org/message-id/01ab1d41-3eda-4705-8bbd-af898f5007f1@iki.fi
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/40c41dc77306bf6f8f97b0012355c0dd8e11a430
Modified Files
--------------
src/backend/port/posix_sema.c | 4 +++-
src/backend/port/sysv_sema.c | 5 ++++-
2 files changed, 7 insertions(+), 2 deletions(-)