Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdc76fb1

Browse files
committed
add verbose message
1 parent01e57ea commitdc76fb1

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

‎src/help.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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 dbnamerestore only specified databases\n"));
466-
printf(_(" --db-exclude dbname do notrestore specified databases\n"));
465+
printf(_(" --db-include dbnamevalidate only files of specified databases\n"));
466+
printf(_(" --db-exclude dbname do notvalidate files of specified databases\n"));
467467

468468
printf(_("\n Logging options:\n"));
469469
printf(_(" --log-level-console=log-level-console\n"));

‎src/validate.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp