diff options
author | Robert Haas | 2013-09-09 20:25:29 +0000 |
---|---|---|
committer | Robert Haas | 2013-09-09 20:25:29 +0000 |
commit | 71901ab6daaad65c0168c05e016e4208efe5b71a (patch) | |
tree | 18428bbfda8a7bac64017a9de65c38563aa61ea6 /src/include/c.h | |
parent | 9c68834bfc2ab6e782f56ee3dc7b4949857b8729 (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.h | 1 |
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 |