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

small fix for do_retention_purge

This commit is contained in:
Grigory Smolkin 2018-01-24 05:09:36 +03:00
parent 8529276c11
commit 8bea94b41e

View File

@ -219,8 +219,7 @@ do_retention_purge(void)
/* Be paranoid */
if (XLogRecPtrIsInvalid(oldest_lsn))
elog(ERROR, "Not going to purge WAL because backup %s has invalid LSN",
base36enc(backup->start_time));
elog(ERROR, "Not going to purge WAL because LSN is invalid");
/* Purge WAL files */
if (delete_wal)