Created
June 21, 2016 08:05
-
-
Save danielgustafsson/323ebb04535c344d1c8814063a083a26 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/backend/access/transam/xlogreader.c b/src/backend/access/transam/xlogreader.c | |
index dcf747c..6627f40 100644 | |
--- a/src/backend/access/transam/xlogreader.c | |
+++ b/src/backend/access/transam/xlogreader.c | |
@@ -337,7 +337,8 @@ XLogReadRecord(XLogReaderState *state, XLogRecPtr RecPtr, char **errormsg) | |
!allocate_recordbuf(state, total_len)) | |
{ | |
/* We treat this as a "bogus data" condition */ | |
- report_invalid_record(state, "record length %u at %X/%X too long", | |
+ report_invalid_record(state, | |
+ "record length %u at %X/%X too long, allocation failed", | |
total_len, | |
(uint32) (RecPtr >> 32), (uint32) RecPtr); | |
goto err; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment