postgresql/src/bin/pg_combinebackup
Robert Haas 1713e3d6cd 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
2024-04-26 08:42:42 -04:00
..
po Update copyright for 2024 2024-01-03 20:49:05 -05:00
t Try again to add test coverage for pg_combinebackup w/tablespaces. 2024-04-23 16:33:19 -04:00
.gitignore pg_combinebackup's .gitignore file is incomplete. 2023-12-21 11:50:41 -05:00
Makefile Update copyright for 2024 2024-01-03 20:49:05 -05:00
backup_label.c Make the order of the header file includes consistent 2024-03-13 15:07:00 +01:00
backup_label.h Update copyright for 2024 2024-01-03 20:49:05 -05:00
copy_file.c Remove unused variable in checksum_file() 2024-04-05 18:13:15 +02:00
copy_file.h Allow copying files using clone/copy_file_range 2024-04-05 18:01:32 +02:00
load_manifest.c Fix some memory leaks associated with parsing json and manifests 2024-04-12 10:32:30 -04:00
load_manifest.h Add the system identifier to backup manifests. 2024-03-13 15:12:33 -04:00
meson.build Fix incremental backup interaction with XLOG_DBASE_CREATE_FILE_COPY. 2024-03-04 13:33:28 -05:00
nls.mk
pg_combinebackup.c Minor fixes to pg_combinebackup and its documentation. 2024-04-26 08:42:42 -04:00
reconstruct.c pg_combinebackup: Fix incorrect tablespace handling. 2024-04-19 13:30:42 -04:00
reconstruct.h Fix headerscheck violation introduced in f8ce4ed78c 2024-04-05 14:27:45 -07:00
write_manifest.c Add the system identifier to backup manifests. 2024-03-13 15:12:33 -04:00
write_manifest.h Add the system identifier to backup manifests. 2024-03-13 15:12:33 -04:00