From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Move the shared memory size calculation to its own function |
Date: | 2021-09-06 02:08:05 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Move the shared memory size calculation to its own function
This change refactors the shared memory size calculation in
CreateSharedMemoryAndSemaphores() to its own function. This is intended
for use in a future change related to the setup of huge pages and shared
memory with some GUCs, while useful on its own for extensions.
Author: Nathan Bossart
Discussion: https://postgr.es/m/[email protected]
Branch
------
master
Modified Files
--------------
src/backend/storage/ipc/ipci.c | 142 ++++++++++++++++++++++++-----------------
src/include/storage/ipc.h | 1 +
2 files changed, 84 insertions(+), 59 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2021-09-06 07:13:04 | pgsql: Improve fix pkg-config files for static linking |
Previous Message | Michael Paquier | 2021-09-06 00:26:48 | pgsql: Remove some unused variables in TAP tests |