diff options
author | Robert Haas <rhaas@postgresql.org> | 2024-04-26 08:42:42 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2024-04-26 08:42:42 -0400 |
commit | 1713e3d6cd393fcc1d4873e75c7fa1f6c7023d75 (patch) | |
tree | de3468fa317270007fdae6a59e0a2b415d41f603 /doc/src | |
parent | 205db0114e03496f1d6febf276374900b6314e67 (diff) | |
download | postgresql-1713e3d6cd393fcc1d4873e75c7fa1f6c7023d75.tar.gz postgresql-1713e3d6cd393fcc1d4873e75c7fa1f6c7023d75.zip |
Minor fixes to pg_combinebackup and its documentation.
The --tablespace-mapping option was specified with required_argument
rather than no_argument, which is wrong. Since the actual argument
string passed to getopt_long() included "T:", the single-character
form of the option still worked, but the long form did not. Repair.
The call to getopt_long() erroneously included "P", which doesn't
correspond to any supported option. Remove.
The help message used "do not" in one place and "don't" in another.
Standardize on "do not".
The documentation erroneously stated that the tablespace mappings
would be applied relative to the pathnames in the first backup
specified on the command line, rather than the final one. Fix.
Thanks to Tomas Vondra and Daniel Gustafsson for alerting me to
these mistakes.
Discussion: http://postgr.es/m/CA+TgmoYFznwwaZhHSF1Ze7JeyBv-1yOoSrucKMw37WpF=7RP8g@mail.gmail.com
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/pg_combinebackup.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/pg_combinebackup.sgml b/doc/src/sgml/ref/pg_combinebackup.sgml index d1f70ba2358..375307d57bd 100644 --- a/doc/src/sgml/ref/pg_combinebackup.sgml +++ b/doc/src/sgml/ref/pg_combinebackup.sgml @@ -128,7 +128,7 @@ PostgreSQL documentation Relocates the tablespace in directory <replaceable>olddir</replaceable> to <replaceable>newdir</replaceable> during the backup. <replaceable>olddir</replaceable> is the absolute path of the tablespace - as it exists in the first backup specified on the command line, + as it exists in the final backup specified on the command line, and <replaceable>newdir</replaceable> is the absolute path to use for the tablespace in the reconstructed backup. If either path needs to contain an equal sign (<literal>=</literal>), precede that with a backslash. |