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

Lines changed: 2 additions & 4 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy