if (unsummarized_tli == 0)
ereport(ERROR,
errcode(ERRCODE_INTERNAL_ERROR),
- errmsg_internal("no WAL found on timeline %d", latest_tli));
+ errmsg_internal("no WAL found on timeline %u", latest_tli));
/*
* Don't try to summarize anything older than the end LSN of the newest
* able to read a complete record.
*/
ereport(DEBUG1,
- errmsg_internal("could not read WAL from timeline %d at %X/%X: end of WAL at %X/%X",
+ errmsg_internal("could not read WAL from timeline %u at %X/%X: end of WAL at %X/%X",
tli,
LSN_FORMAT_ARGS(xlogreader->EndRecPtr),
LSN_FORMAT_ARGS(private_data->read_upto)));
/* Tell the user what we did. */
ereport(DEBUG1,
- errmsg("summarized WAL on TLI %d from %X/%X to %X/%X",
+ errmsg("summarized WAL on TLI %u from %X/%X to %X/%X",
tli,
LSN_FORMAT_ARGS(summary_start_lsn),
LSN_FORMAT_ARGS(summary_end_lsn)));