mirror of
https://github.com/postgres/postgres.git
synced 2025-12-19 17:02:53 +03:00
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
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user