1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-01-08 13:44:32 +02:00

change message about error during reading WAL

This commit is contained in:
Anastasia 2017-05-05 13:23:52 +03:00
parent a6be0c35f4
commit d470effef8

View File

@ -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)