From d470effef8789eef1c3ed489186d6124133997f1 Mon Sep 17 00:00:00 2001 From: Anastasia Date: Fri, 5 May 2017 13:23:52 +0300 Subject: [PATCH] change message about error during reading WAL --- parsexlog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parsexlog.c b/parsexlog.c index 22f734af..f94baaea 100644 --- a/parsexlog.c +++ b/parsexlog.c @@ -249,8 +249,8 @@ validate_wal(pgBackup *backup, if (!xlogexists) elog(WARNING, "WAL segment \"%s\" is absent", xlogfpath); else if (xlogreadfd != -1) - elog(WARNING, "error was occured during reading WAL segment \"%s\"", - xlogfpath); + elog(ERROR, "Possible WAL CORRUPTION." + "Error has occured during reading WAL segment \"%s\"", xlogfpath); } if (!got_endpoint)