pgsql: Use ShmemInitStruct to allocate shmem for semaphores

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Use ShmemInitStruct to allocate shmem for semaphores
Дата
Msg-id E1w7JPH-002CUq-0z@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления: