8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ab9d1c commit 96ff85eCopy full SHA for 96ff85e
src/include/access/xlog_internal.h
@@ -110,7 +110,7 @@ typedef XLogLongPageHeaderData *XLogLongPageHeader;
110
* by XLOG_SEG_SIZE.
111
*/
112
#define XLogSegSize ((uint32) XLOG_SEG_SIZE)
113
-#define XLogSegmentsPerXLogId (0x100000000L / XLOG_SEG_SIZE)
+#define XLogSegmentsPerXLogId (0x100000000LL / XLOG_SEG_SIZE)
114
115
#define XLogSegNoOffsetToRecPtr(segno, offset, dest) \
116
(dest) = (segno) * XLOG_SEG_SIZE + (offset)
0 commit comments