1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-03-30 23:04:31 +02:00

PGPRO-1973: Improve XLogWaitForConsistency() verbose message

This commit is contained in:
Arthur Zakirov 2019-03-14 14:24:18 +03:00
parent a0fa72eeca
commit 95f4f50c86

View File

@ -1300,8 +1300,13 @@ XLogWaitForConsistency(XLogReaderState *xlogreader)
if (log_message)
{
elog(VERBOSE, "Thread [%d]: Possible WAL corruption. Wait for other threads to decide is this a failure",
reader_data->thread_num);
char xlogfname[MAXFNAMELEN];
GetXLogFileName(xlogfname, reader_data->tli, reader_data->xlogsegno,
wal_seg_size);
elog(VERBOSE, "Thread [%d]: Possible WAL corruption in %s. Wait for other threads to decide is this a failure",
reader_data->thread_num, xlogfname);
log_message = false;
}