diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 58922f7ede..dfe2a0bcce 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -10421,7 +10421,7 @@ xlog_redo(XLogReaderState *record) */ if (checkPoint.ThisTimeLineID != replayTLI) ereport(PANIC, - (errmsg("unexpected timeline ID %u (should be %u) in checkpoint record", + (errmsg("unexpected timeline ID %u (should be %u) in shutdown checkpoint record", checkPoint.ThisTimeLineID, replayTLI))); RecoveryRestartPoint(&checkPoint, record); @@ -10477,7 +10477,7 @@ xlog_redo(XLogReaderState *record) /* TLI should not change in an on-line checkpoint */ if (checkPoint.ThisTimeLineID != replayTLI) ereport(PANIC, - (errmsg("unexpected timeline ID %u (should be %u) in checkpoint record", + (errmsg("unexpected timeline ID %u (should be %u) in online checkpoint record", checkPoint.ThisTimeLineID, replayTLI))); RecoveryRestartPoint(&checkPoint, record); @@ -10507,7 +10507,7 @@ xlog_redo(XLogReaderState *record) */ if (xlrec.ThisTimeLineID != replayTLI) ereport(PANIC, - (errmsg("unexpected timeline ID %u (should be %u) in checkpoint record", + (errmsg("unexpected timeline ID %u (should be %u) in end-of-recovery record", xlrec.ThisTimeLineID, replayTLI))); } else if (info == XLOG_NOOP)