32 #define PGShmemMagic 679834894
74 #if !defined(WIN32) && !defined(EXEC_BACKEND)
75 #define DEFAULT_SHARED_MEMORY_TYPE SHMEM_TYPE_MMAP
77 #define DEFAULT_SHARED_MEMORY_TYPE SHMEM_TYPE_SYSV
79 #define DEFAULT_SHARED_MEMORY_TYPE SHMEM_TYPE_WINDOWS
PGShmemHeader * PGSharedMemoryCreate(Size size, PGShmemHeader **shim)
void PGSharedMemoryDetach(void)
PGDLLIMPORT void * UsedShmemSegAddr
struct PGShmemHeader PGShmemHeader
PGDLLIMPORT int huge_page_size
PGDLLIMPORT unsigned long UsedShmemSegID
void GetHugePageSize(Size *hugepagesize, int *mmap_flags)
PGDLLIMPORT int huge_pages
bool PGSharedMemoryIsInUse(unsigned long id1, unsigned long id2)
PGDLLIMPORT int shared_memory_type
static pg_noinline void Size size
void PGSharedMemoryReAttach(void)
void * ShmemProtectiveRegion
void PGSharedMemoryNoReAttach(void)