projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faa0550
)
UINT64_MAX isn't defined on MSVC.
author
Heikki Linnakangas
Tue, 8 Feb 2011 16:14:26 +0000
(18:14 +0200)
committer
Heikki Linnakangas
Tue, 8 Feb 2011 16:15:53 +0000
(18:15 +0200)
src/include/storage/predicate_internals.h
patch
|
blob
|
blame
|
history
diff --git
a/src/include/storage/predicate_internals.h
b/src/include/storage/predicate_internals.h
index 41aa70fdfa129d1b1bf9c9c2bfe8acdeb0f4707c..32e9a1bc218358e04868e765445e40e326cb877c 100644
(file)
--- a/
src/include/storage/predicate_internals.h
+++ b/
src/include/storage/predicate_internals.h
@@
-33,7
+33,7
@@
typedef uint64 SerCommitSeqNo;
* at that point. It's earlier than all normal sequence numbers,
* and is only used by recovered prepared transactions
*/
-#define InvalidSerCommitSeqNo
UINT64_MAX
+#define InvalidSerCommitSeqNo
((SerCommitSeqNo) UINT64CONST(0xFFFFFFFFFFFFFFFF))
#define RecoverySerCommitSeqNo ((SerCommitSeqNo) 1)
#define FirstNormalSerCommitSeqNo ((SerCommitSeqNo) 2)