1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2024-11-28 09:33:54 +02:00

fix ERROR message

This commit is contained in:
Anastasia 2017-05-05 23:02:48 +03:00
parent 36e64407fc
commit 1b2784b7cd

View File

@ -140,8 +140,8 @@ do_restore_or_validate(time_t target_backup_id,
&& !dest_backup)
{
if (current_backup->status != BACKUP_STATUS_OK)
elog(ERROR, "given backup %s is in %s status",
base36enc(target_backup_id), status2str(current_backup->status));
elog(ERROR, "Backup %s has status: %s",
base36enc(current_backup->status), status2str(current_backup->status));
if (target_tli)
{