v2_correct_xlog_redo_errmsg.patch

application/octet-stream

Filename: v2_correct_xlog_redo_errmsg.patch
Type: application/octet-stream
Part: 0
Message: Re: Correct error message for end-of-recovery record TLI

Patch

Format: unified
Series: patch v2
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..8ba6406b489 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -10490,7 +10490,7 @@ xlog_redo(XLogReaderState *record)
 		 */
 		if (xlrec.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",
 							xlrec.ThisTimeLineID, ThisTimeLineID)));
 	}
 	else if (info == XLOG_NOOP)