File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -462,8 +462,8 @@ help_validate(void)
462462 printf (_ (" the named restore point to which recovery will proceed\n" ));
463463 printf (_ (" --skip-block-validation set to validate only file-level checksum\n" ));
464464
465- printf (_ (" --db-include dbname restore only specified databases\n" ));
466- printf (_ (" --db-exclude dbname do not restore specified databases\n" ));
465+ printf (_ (" --db-include dbname validate only files of specified databases\n" ));
466+ printf (_ (" --db-exclude dbname do not validate files of specified databases\n" ));
467467
468468 printf (_ ("\n Logging options:\n" ));
469469 printf (_ (" --log-level-console=log-level-console\n" ));
Original file line number Diff line number Diff line change @@ -207,7 +207,11 @@ pgBackupValidateFiles(void *arg)
207207 if (arguments -> dbOid_exclude_list && file -> external_dir_num == 0
208208 && parray_bsearch (arguments -> dbOid_exclude_list ,
209209 & file -> dbOid , pgCompareOid ))
210+ {
211+ elog (VERBOSE , "Skip file validation due to partial restore: \"%s\"" ,
212+ file -> rel_path );
210213 continue ;
214+ }
211215
212216 /*
213217 * Currently we don't compute checksums for
You can’t perform that action at this time.
0 commit comments