Hi, In xlog_redo, for end-of-recovery case error message describes the record as a checkpoint record which seems to be incorrect; the attached patch corrects that.
-- Regards, Amul Sul EDB: http://www.enterprisedb.com
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index f547efd2944..77894b5bb2e 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -10460,7 +10460,7 @@ xlog_redo(XLogReaderState *record) /* TLI should not change in an on-line checkpoint */ if (checkPoint.ThisTimeLineID != ThisTimeLineID) 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", checkPoint.ThisTimeLineID, ThisTimeLineID))); RecoveryRestartPoint(&checkPoint);