postgres.git / summary / log / commit / refs
commit 391d762841afda888d2ec5831dd262d2c344081d
Author: Fujii Masao <fujii@postgresql.org>
Date: Wed Nov 11 00:50:29 2026 +0000
First released in: 19.0
doc: Clarify pg_combinebackup's --sync-method description
The --sync-method documentation, copied from pg_basebackup,
referred to "the plain format", although pg_combinebackup always
produces a plain data directory. It also called the directory being
synchronized the "backup directory", which could be confused with an
input backup directory.
Remove the inapplicable format qualifications and explicitly
identify the output directory as the synchronization target.
Backpatch to v17, where pg_combinebackup was introduced.
Author: Sai Pranav <rajasaipranav0@gmail.com>
Reviewed-by: Fujii Masao <masao.fujii@gmail.com>
Discussion: https://postgr.es/m/CAPHduZAYBNVWkXAsrXXrb+dD2gKDABcJfcudXQecFdW2WEpDdw@mail.gmail.com
Backpatch-through: 17
doc/src/sgml/ref/pg_combinebackup.sgml | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/doc/src/sgml/ref/pg_combinebackup.sgml b/doc/src/sgml/ref/pg_combinebackup.sgml
index 1da60e03c86..badbc61b69f 100644
--- a/doc/src/sgml/ref/pg_combinebackup.sgml
+++ b/doc/src/sgml/ref/pg_combinebackup.sgml
@@ -225,16 +225,15 @@ PostgreSQL documentation
<para>
When set to <literal>fsync</literal>, which is the default,
<command>pg_combinebackup</command> will recursively open and synchronize
- all files in the backup directory. When the plain format is used, the
- search for files will follow symbolic links for the WAL directory and
- each configured tablespace.
+ all files in the output directory. The search for files will follow
+ symbolic links for the WAL directory and each configured tablespace.
</para>
<para>
On Linux, <literal>syncfs</literal> may be used instead to ask the
operating system to synchronize the whole file system that contains the
- backup directory. When the plain format is used,
- <command>pg_combinebackup</command> will also synchronize the file systems
- that contain the WAL files and each tablespace. See
+ output directory. <command>pg_combinebackup</command> will also
+ synchronize the file systems that contain the WAL files and each
+ tablespace. See
<xref linkend="guc-recovery-init-sync-method"/> for information about
the caveats to be aware of when using <literal>syncfs</literal>.
</para>
[parent: 21b7a3fd683e]