mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2025-01-24 11:46:31 +02:00
change message about error during reading WAL
This commit is contained in:
parent
a6be0c35f4
commit
d470effef8
@ -249,8 +249,8 @@ validate_wal(pgBackup *backup,
|
|||||||
if (!xlogexists)
|
if (!xlogexists)
|
||||||
elog(WARNING, "WAL segment \"%s\" is absent", xlogfpath);
|
elog(WARNING, "WAL segment \"%s\" is absent", xlogfpath);
|
||||||
else if (xlogreadfd != -1)
|
else if (xlogreadfd != -1)
|
||||||
elog(WARNING, "error was occured during reading WAL segment \"%s\"",
|
elog(ERROR, "Possible WAL CORRUPTION."
|
||||||
xlogfpath);
|
"Error has occured during reading WAL segment \"%s\"", xlogfpath);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!got_endpoint)
|
if (!got_endpoint)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user