20 #define DSM_CREATE_NULL_IF_MAXSEGMENTS 0x0001
33 extern void dsm_set_control_handle(
dsm_handle h);
dsm_handle dsm_segment_handle(dsm_segment *seg)
size_t dsm_estimate_size(void)
void * dsm_segment_address(dsm_segment *seg)
void dsm_detach(dsm_segment *seg)
void on_dsm_detach(dsm_segment *seg, on_dsm_detach_callback function, Datum arg)
dsm_segment * dsm_attach(dsm_handle h)
dsm_segment * dsm_create(Size size, int flags)
void dsm_pin_mapping(dsm_segment *seg)
void dsm_postmaster_startup(struct PGShmemHeader *)
void dsm_unpin_segment(dsm_handle handle)
void dsm_pin_segment(dsm_segment *seg)
void dsm_detach_all(void)
void dsm_cleanup_using_control_segment(dsm_handle old_control_handle)
void(* on_dsm_detach_callback)(dsm_segment *, Datum arg)
void dsm_shmem_init(void)
void dsm_backend_shutdown(void)
void cancel_on_dsm_detach(dsm_segment *seg, on_dsm_detach_callback function, Datum arg)
void reset_on_dsm_detach(void)
dsm_segment * dsm_find_mapping(dsm_handle handle)
Size dsm_segment_map_length(dsm_segment *seg)
void dsm_unpin_mapping(dsm_segment *seg)
static pg_noinline void Size size