summaryrefslogtreecommitdiff
path: root/src/include/storage
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-09-08 12:02:30 +0900
committerMichael Paquier <michael@paquier.xyz>2021-09-08 12:02:30 +0900
commitbd1788051b02cfddcd9ef0e2fd094972f372b8fd (patch)
treea0bc449c2d8a6b6e91fe96d7b2353c3d91339085 /src/include/storage
parentfd0625c7a9c679c0c1e896014b8f49a489c3a245 (diff)
Introduce GUC shared_memory_size
This runtime-computed GUC shows the size of the server's main shared memory area, taking into account the amount of shared memory allocated by extensions as this is calculated after processing shared_preload_libraries. Author: Nathan Bossart Discussion: https://postgr.es/m/F2772387-CE0F-46BF-B5F1-CC55516EB885@amazon.com
Diffstat (limited to 'src/include/storage')
-rw-r--r--src/include/storage/ipc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/storage/ipc.h b/src/include/storage/ipc.h
index 80e191d407d..7a1ebc8559c 100644
--- a/src/include/storage/ipc.h
+++ b/src/include/storage/ipc.h
@@ -79,5 +79,6 @@ extern PGDLLIMPORT shmem_startup_hook_type shmem_startup_hook;
extern Size CalculateShmemSize(int *num_semaphores);
extern void CreateSharedMemoryAndSemaphores(void);
+extern void InitializeShmemGUCs(void);
#endif /* IPC_H */