17 #define DSM_IMPL_POSIX 1
18 #define DSM_IMPL_SYSV 2
19 #define DSM_IMPL_WINDOWS 3
20 #define DSM_IMPL_MMAP 4
27 #define USE_DSM_WINDOWS
28 #define DEFAULT_DYNAMIC_SHARED_MEMORY_TYPE DSM_IMPL_WINDOWS
32 #define DEFAULT_DYNAMIC_SHARED_MEMORY_TYPE DSM_IMPL_POSIX
35 #ifndef DEFAULT_DYNAMIC_SHARED_MEMORY_TYPE
36 #define DEFAULT_DYNAMIC_SHARED_MEMORY_TYPE DSM_IMPL_SYSV
51 #define PG_DYNSHMEM_DIR "pg_dynshmem"
52 #define PG_DYNSHMEM_MMAP_FILE_PREFIX "mmap."
58 #define DSM_HANDLE_INVALID ((dsm_handle) 0)
71 void **impl_private,
void **mapped_address,
Size *mapped_size,
76 void **impl_private_pm_handle);
void dsm_impl_pin_segment(dsm_handle handle, void *impl_private, void **impl_private_pm_handle)
void dsm_impl_unpin_segment(dsm_handle handle, void **impl_private)
PGDLLIMPORT int min_dynamic_shared_memory
bool dsm_impl_op(dsm_op op, dsm_handle handle, Size request_size, void **impl_private, void **mapped_address, Size *mapped_size, int elevel)
PGDLLIMPORT int dynamic_shared_memory_type