Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0f80b47

Browse files
committed
Add forgotten LSN_FORMAT_ARGS() in xlogreader.c
These should have been part of4035cd5, that introduced LZ4 support forwal_compression.
1 parent2f78338 commit0f80b47

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)

[8]ページ先頭

©2009-2025 Movatter.jp