summaryrefslogtreecommitdiff
path: root/src/include/c.h
diff options
context:
space:
mode:
authorRobert Haas2013-09-09 20:25:29 +0000
committerRobert Haas2013-09-09 20:25:29 +0000
commit71901ab6daaad65c0168c05e016e4208efe5b71a (patch)
tree18428bbfda8a7bac64017a9de65c38563aa61ea6 /src/include/c.h
parent9c68834bfc2ab6e782f56ee3dc7b4949857b8729 (diff)
Introduce InvalidCommandId.
This allows a 32-bit field to represent an *optional* command ID without a separate flag bit. Andres Freund
Diffstat (limited to 'src/include/c.h')
-rw-r--r--src/include/c.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/c.h b/src/include/c.h
index 596118342d..14bfdcd4da 100644
--- a/src/include/c.h
+++ b/src/include/c.h
@@ -368,6 +368,7 @@ typedef uint32 MultiXactOffset;
typedef uint32 CommandId;
#define FirstCommandId ((CommandId) 0)
+#define InvalidCommandId (~(CommandId)0)
/*
* Array indexing support