correct_xlog_redo_errmsg.patch
application/x-patch
Filename: correct_xlog_redo_errmsg.patch
Type: application/x-patch
Part: 0
Patch
Format: unified
| File | + | − |
|---|---|---|
| src/backend/access/transam/xlog.c | 1 | 1 |
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);