Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d2129fd

Browse files
committed
change elog level to WARNING in message about restoring backup without validation
1 parent c509ae4 commit d2129fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/restore.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ do_restore_or_validate(time_t target_backup_id, pgRecoveryTarget *rt,
405405
dest_backup->status == BACKUP_STATUS_DONE)
406406
{
407407
if (rt->no_validate)
408-
elog(INFO, "Backup %s is used without validation.", base36enc(dest_backup->start_time));
408+
elog(WARNING, "Backup %s is used without validation.", base36enc(dest_backup->start_time));
409409
else
410410
elog(INFO, "Backup %s is valid.", base36enc(dest_backup->start_time));
411411
}

0 commit comments

Comments
 (0)