1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-01-24 11:46:31 +02:00

add verbose message

This commit is contained in:
Anastasia 2019-08-09 17:13:13 +03:00
parent 01e57eafba
commit dc76fb13d5
2 changed files with 6 additions and 2 deletions

View File

@ -462,8 +462,8 @@ help_validate(void)
printf(_(" the named restore point to which recovery will proceed\n"));
printf(_(" --skip-block-validation set to validate only file-level checksum\n"));
printf(_(" --db-include dbname restore only specified databases\n"));
printf(_(" --db-exclude dbname do not restore specified databases\n"));
printf(_(" --db-include dbname validate only files of specified databases\n"));
printf(_(" --db-exclude dbname do not validate files of specified databases\n"));
printf(_("\n Logging options:\n"));
printf(_(" --log-level-console=log-level-console\n"));

View File

@ -207,7 +207,11 @@ pgBackupValidateFiles(void *arg)
if (arguments->dbOid_exclude_list && file->external_dir_num == 0
&& parray_bsearch(arguments->dbOid_exclude_list,
&file->dbOid, pgCompareOid))
{
elog(VERBOSE, "Skip file validation due to partial restore: \"%s\"",
file->rel_path);
continue;
}
/*
* Currently we don't compute checksums for