mirror of
https://github.com/postgres/postgres.git
synced 2025-08-21 10:42:50 +03:00
Flip argument order in XLogSegNoOffsetToRecPtr
Commit fc49e24fa6
added an input argument after the existing output
argument. Flip those.
Author: Álvaro Herrera <alvherre@alvh.no-ip.org>
Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/20180708182345.imdgovmkffgtihhk@alvherre.pgsql
This commit is contained in:
@@ -101,7 +101,7 @@ typedef XLogLongPageHeaderData *XLogLongPageHeader;
|
||||
#define XLogSegmentsPerXLogId(wal_segsz_bytes) \
|
||||
(UINT64CONST(0x100000000) / (wal_segsz_bytes))
|
||||
|
||||
#define XLogSegNoOffsetToRecPtr(segno, offset, dest, wal_segsz_bytes) \
|
||||
#define XLogSegNoOffsetToRecPtr(segno, offset, wal_segsz_bytes, dest) \
|
||||
(dest) = (segno) * (wal_segsz_bytes) + (offset)
|
||||
|
||||
#define XLogSegmentOffset(xlogptr, wal_segsz_bytes) \
|
||||
|
Reference in New Issue
Block a user