diff options
author | Michael Paquier <michael@paquier.xyz> | 2021-09-06 10:59:20 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2021-09-06 10:59:20 +0900 |
commit | 0bd305ee1d427ef29f5fa4fa20567e3b3f5ff792 (patch) | |
tree | c53b52d0263dc6b6da21b3ef2db49a22e2d40ee2 /src/backend/utils/adt/tsquery_gist.c | |
parent | 5fcb23c18fe408bfc6669aa5bca2d21896f9fe90 (diff) | |
download | postgresql-0bd305ee1d427ef29f5fa4fa20567e3b3f5ff792.tar.gz postgresql-0bd305ee1d427ef29f5fa4fa20567e3b3f5ff792.zip |
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
Diffstat (limited to 'src/backend/utils/adt/tsquery_gist.c')
0 files changed, 0 insertions, 0 deletions