pgsql: Use ShmemInitStruct to allocate shmem for semaphores - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Use ShmemInitStruct to allocate shmem for semaphores
Date
Msg-id E1w7JPH-002CUq-0z@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

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(-)


pgsql-committers by date:

Previous
From: Melanie Plageman
Date:
Subject: pgsql: Set pd_prune_xid on insert
Next
From: Nathan Bossart
Date:
Subject: pgsql: Remove bits* typedefs.