v3-0001-correct-end-of-recovery-error-message.patch
application/octet-stream
Filename: v3-0001-correct-end-of-recovery-error-message.patch
Type: application/octet-stream
Part: 0
Patch
Format: format-patch
Series: patch v3-0001
Subject: correct end-of-recovery error message
| File | + | − |
|---|---|---|
| src/backend/access/transam/xlog.c | 1 | 1 |
From 46ee9af69a0fcc730bce3f3959fb903dbe059732 Mon Sep 17 00:00:00 2001
From: Nathan Bossart <bossartn@amazon.com>
Date: Wed, 1 Dec 2021 19:06:35 +0000
Subject: [PATCH v3 1/1] correct end-of-recovery error message
---
src/backend/access/transam/xlog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index d894af310a..845ddee647 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -10540,7 +10540,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)
--
2.16.6