1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-01-07 13:40:17 +02:00

change elog level to WARNING in message about restoring backup without validation

This commit is contained in:
Grigory Smolkin 2019-05-01 17:53:29 +03:00
parent c509ae42b9
commit d2129fdd12

View File

@ -405,7 +405,7 @@ do_restore_or_validate(time_t target_backup_id, pgRecoveryTarget *rt,
dest_backup->status == BACKUP_STATUS_DONE)
{
if (rt->no_validate)
elog(INFO, "Backup %s is used without validation.", base36enc(dest_backup->start_time));
elog(WARNING, "Backup %s is used without validation.", base36enc(dest_backup->start_time));
else
elog(INFO, "Backup %s is valid.", base36enc(dest_backup->start_time));
}