summaryrefslogtreecommitdiff
path: root/src/include/storage/dsm_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/storage/dsm_impl.h')
-rw-r--r--src/include/storage/dsm_impl.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/storage/dsm_impl.h b/src/include/storage/dsm_impl.h
index fade3a3668..daf07bd19c 100644
--- a/src/include/storage/dsm_impl.h
+++ b/src/include/storage/dsm_impl.h
@@ -54,6 +54,9 @@ extern PGDLLIMPORT int min_dynamic_shared_memory;
/* A "name" for a dynamic shared memory segment. */
typedef uint32 dsm_handle;
+/* Sentinel value to use for invalid DSM handles. */
+#define DSM_HANDLE_INVALID ((dsm_handle) 0)
+
/* All the shared-memory operations we know about. */
typedef enum
{