From c1c757c5dcb8f24aa4ec5ee6c59c3c7237be777d Mon Sep 17 00:00:00 2001 From: huier <265460733+huier5635-cmd@users.noreply.github.com> Date: Mon, 30 Nov 2026 03:02:04 +0800 Subject: [PATCH] docs: clarify which checks pg_verifybackup skips with --skip-checksums Assisted-by: Codex --- CN/modules/ROOT/pages/9.adoc | 2 +- EN/modules/ROOT/pages/9.adoc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CN/modules/ROOT/pages/9.adoc b/CN/modules/ROOT/pages/9.adoc index 2432ee47..a9fb7e64 100644 --- a/CN/modules/ROOT/pages/9.adoc +++ b/CN/modules/ROOT/pages/9.adoc @@ -2755,7 +2755,7 @@ pg_verifybackup 接受以下命令行参数: - `-s` `--skip-checksums` -不要验证数据文件校验和。但仍检查是否存在文件以及这些文件的大小。这样将会快得多,因为文件本身不需要读取。 +跳过将各个文件的校验和与清单进行比较。验证器仍检查文件是否存在以及文件大小。对于普通格式备份,此选项跳过单独的文件校验和检查。对于 tar 格式备份,验证器仍需读取归档来检查其中的文件。 - `-w *path*` `--wal-directory=*path*` diff --git a/EN/modules/ROOT/pages/9.adoc b/EN/modules/ROOT/pages/9.adoc index d4b420c6..9f5719a3 100644 --- a/EN/modules/ROOT/pages/9.adoc +++ b/EN/modules/ROOT/pages/9.adoc @@ -2720,7 +2720,7 @@ Don't print anything when a backup is successfully verified. - `-s` `--skip-checksums` -Do not verify data file checksums. The presence or absence of files and the sizes of those files will still be checked. This is much faster, because the files themselves do not need to be read. +Skip comparing individual file checksums with the manifest. The verifier still checks which files are present and their sizes. For plain-format backups, this skips the separate file checksum pass. For tar-format backups, the verifier still reads the archives to inspect their members. - `-w *path*` `--wal-directory=*path*`