aboutsummaryrefslogtreecommitdiff
path: root/src/include/storage/dsm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/storage/dsm.h')
-rw-r--r--src/include/storage/dsm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/storage/dsm.h b/src/include/storage/dsm.h
index 2bf12ce5313..beee105a6bd 100644
--- a/src/include/storage/dsm.h
+++ b/src/include/storage/dsm.h
@@ -17,6 +17,8 @@
typedef struct dsm_segment dsm_segment;
+#define DSM_CREATE_NULL_IF_MAXSEGMENTS 0x0001
+
/* Startup and shutdown functions. */
struct PGShmemHeader; /* avoid including pg_shmem.h */
extern void dsm_cleanup_using_control_segment(dsm_handle old_control_handle);
@@ -29,7 +31,7 @@ extern void dsm_set_control_handle(dsm_handle h);
#endif
/* Functions that create, update, or remove mappings. */
-extern dsm_segment *dsm_create(Size size);
+extern dsm_segment *dsm_create(Size size, int flags);
extern dsm_segment *dsm_attach(dsm_handle h);
extern void *dsm_resize(dsm_segment *seg, Size size);
extern void *dsm_remap(dsm_segment *seg);