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 b8b2e3b commit 5c7f954Copy full SHA for 5c7f954
src/bin/pg_resetxlog/pg_resetxlog.c
@@ -708,7 +708,7 @@ FindEndOfXLOG(void)
708
* old pg_control. Note that for the moment we are working with segment
709
* numbering according to the old xlog seg size.
710
*/
711
- segs_per_xlogid = (0x100000000L / ControlFile.xlog_seg_size);
+ segs_per_xlogid = (UINT64CONST(0x0000000100000000) / ControlFile.xlog_seg_size);
712
newXlogSegNo = ControlFile.checkPointCopy.redo / ControlFile.xlog_seg_size;
713
714
/*
0 commit comments