Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0f80b47

Browse files
committed
Add forgotten LSN_FORMAT_ARGS() in xlogreader.c
These should have been part of 4035cd5, that introduced LZ4 support for wal_compression.
1 parent 2f78338 commit 0f80b47

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/backend/access/transam/xlogreader.c

+2-4
Original file line numberDiff line numberDiff line change
@@ -1576,8 +1576,7 @@ RestoreBlockImage(XLogReaderState *record, uint8 block_id, char *page)
15761576
decomp_success = false;
15771577
#else
15781578
report_invalid_record(record, "image at %X/%X compressed with %s not supported by build, block %d",
1579-
(uint32) (record->ReadRecPtr >> 32),
1580-
(uint32) record->ReadRecPtr,
1579+
LSN_FORMAT_ARGS(record->ReadRecPtr),
15811580
"LZ4",
15821581
block_id);
15831582
return false;
@@ -1586,8 +1585,7 @@ RestoreBlockImage(XLogReaderState *record, uint8 block_id, char *page)
15861585
else
15871586
{
15881587
report_invalid_record(record, "image at %X/%X compressed with unknown method, block %d",
1589-
(uint32) (record->ReadRecPtr >> 32),
1590-
(uint32) record->ReadRecPtr,
1588+
LSN_FORMAT_ARGS(record->ReadRecPtr),
15911589
block_id);
15921590
return false;
15931591
}

0 commit comments

Comments
 (0)