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

Commite4b88c5

Browse files
committed
Use correct format placeholder for timeline IDs
Should be %u rather than %d.
1 parent703c7a3 commite4b88c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/postmaster/walsummarizer.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ GetOldestUnsummarizedLSN(TimeLineID *tli, bool *lsn_is_exact,
565565
if (unsummarized_tli==0)
566566
ereport(ERROR,
567567
errcode(ERRCODE_INTERNAL_ERROR),
568-
errmsg_internal("no WAL found on timeline %d",latest_tli));
568+
errmsg_internal("no WAL found on timeline %u",latest_tli));
569569

570570
/*
571571
* Don't try to summarize anything older than the end LSN of the newest
@@ -909,7 +909,7 @@ SummarizeWAL(TimeLineID tli, XLogRecPtr start_lsn, bool exact,
909909
* able to read a complete record.
910910
*/
911911
ereport(DEBUG1,
912-
errmsg_internal("could not read WAL from timeline %d at %X/%X: end of WAL at %X/%X",
912+
errmsg_internal("could not read WAL from timeline %u at %X/%X: end of WAL at %X/%X",
913913
tli,
914914
LSN_FORMAT_ARGS(xlogreader->EndRecPtr),
915915
LSN_FORMAT_ARGS(private_data->read_upto)));
@@ -1064,7 +1064,7 @@ SummarizeWAL(TimeLineID tli, XLogRecPtr start_lsn, bool exact,
10641064

10651065
/* Tell the user what we did. */
10661066
ereport(DEBUG1,
1067-
errmsg("summarized WAL on TLI %d from %X/%X to %X/%X",
1067+
errmsg("summarized WAL on TLI %u from %X/%X to %X/%X",
10681068
tli,
10691069
LSN_FORMAT_ARGS(summary_start_lsn),
10701070
LSN_FORMAT_ARGS(summary_end_lsn)));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp