git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 5fcb23c) | patch
Move the shared memory size calculation to its own function
Mon, 6 Sep 2021 01:59:20 +0000 (10:59 +0900)
Mon, 6 Sep 2021 01:59:20 +0000 (10:59 +0900)
commit 0bd305ee1d427ef29f5fa4fa20567e3b3f5ff792
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/F2772387-CE0F-46BF-B5F1-CC55516EB885@amazon.com
src/backend/storage/ipc/ipci.c diff | blob | blame | history
src/include/storage/ipc.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /