mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-25 08:06:29 +00:00
repmgrd: fix XLogRecPtr conversion function
This commit is contained in:
4
HISTORY
4
HISTORY
@@ -1,6 +1,8 @@
|
|||||||
3.3.1 2017-01-
|
3.3.1 2017-01-
|
||||||
repmgrd: revent invalid apply lag value being written to the
|
repmgrd: prevent invalid apply lag value being written to the
|
||||||
monitoring table (Ian)
|
monitoring table (Ian)
|
||||||
|
repmgrd: fix error in XLogRecPtr conversion when calculating
|
||||||
|
monitoring statistics (Ian)
|
||||||
|
|
||||||
3.3 2016-12-27
|
3.3 2016-12-27
|
||||||
repmgr: always log to STDERR even if log facility defined (Ian)
|
repmgr: always log to STDERR even if log facility defined (Ian)
|
||||||
|
|||||||
@@ -2339,7 +2339,7 @@ lsn_to_xlogrecptr(char *lsn, bool *format_ok)
|
|||||||
if (format_ok != NULL)
|
if (format_ok != NULL)
|
||||||
*format_ok = true;
|
*format_ok = true;
|
||||||
|
|
||||||
return (((XLogRecPtr) xlogid * 16 * 1024 * 1024 * 255) + xrecoff);
|
return (XLogRecPtr) ((uint64) xlogid) << 32 | (uint64) xrecoff;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Reference in New Issue
Block a user