Skip to content

Commit bdf2539

Browse files
committed
Improve log message within SimpleXLogPageRead
1 parent 06b1dbe commit bdf2539

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/parsexlog.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -922,14 +922,14 @@ SimpleXLogPageRead(XLogReaderState *xlogreader, XLogRecPtr targetPagePtr,
922922
if (!IsInXLogSeg(targetPagePtr, private_data->xlogsegno,
923923
private_data->xlog_seg_size))
924924
{
925-
elog(VERBOSE, "Thread [%d]: Need to switch to segno next to %X/%X, current LSN %X/%X",
925+
elog(VERBOSE, "Thread [%d]: Need to switch to the next WAL segment, page LSN %X/%X, record being read LSN %X/%X",
926926
private_data->thread_num,
927927
(uint32) (targetPagePtr >> 32), (uint32) (targetPagePtr),
928928
(uint32) (xlogreader->currRecPtr >> 32),
929929
(uint32) (xlogreader->currRecPtr ));
930930

931931
/*
932-
* if the last record on the page is not complete,
932+
* If the last record on the page is not complete,
933933
* we must continue reading pages in the same thread
934934
*/
935935
if (!XLogRecPtrIsInvalid(xlogreader->currRecPtr) &&

0 commit comments

Comments
 (0)