diff options
author | Bruce Momjian | 2024-11-20 19:48:31 +0000 |
---|---|---|
committer | Bruce Momjian | 2024-11-20 19:48:31 +0000 |
commit | f722dd32de49af883b7b58d0ca028835972b7095 (patch) | |
tree | 36197cac37421b7bd505c290d727ab43a6208e62 /src | |
parent | 70743376987af2393e42f3cfc2def4a472070659 (diff) |
clarify --no-comments option in --help and SGML files
The previous commit, b38bac26e20, missed these cases for dump/restore.
Reported-by: Tom Lane
Discussion: https://postgr.es/m/3495698.1731968093@sss.pgh.pa.us
Backpatch-through: master
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/pg_dump/pg_dump.c | 2 | ||||
-rw-r--r-- | src/bin/pg_dump/pg_dumpall.c | 2 | ||||
-rw-r--r-- | src/bin/pg_dump/pg_restore.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index a8c141b689d..c30aafbe70d 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -1212,7 +1212,7 @@ help(const char *progname) " servers matching PATTERN\n")); printf(_(" --inserts dump data as INSERT commands, rather than COPY\n")); printf(_(" --load-via-partition-root load partitions via the root table\n")); - printf(_(" --no-comments do not dump comments\n")); + printf(_(" --no-comments do not dump comment commands\n")); printf(_(" --no-publications do not dump publications\n")); printf(_(" --no-security-labels do not dump security label assignments\n")); printf(_(" --no-subscriptions do not dump subscriptions\n")); diff --git a/src/bin/pg_dump/pg_dumpall.c b/src/bin/pg_dump/pg_dumpall.c index e3ad8fb2956..9a04e51c81a 100644 --- a/src/bin/pg_dump/pg_dumpall.c +++ b/src/bin/pg_dump/pg_dumpall.c @@ -662,7 +662,7 @@ help(void) printf(_(" --if-exists use IF EXISTS when dropping objects\n")); printf(_(" --inserts dump data as INSERT commands, rather than COPY\n")); printf(_(" --load-via-partition-root load partitions via the root table\n")); - printf(_(" --no-comments do not dump comments\n")); + printf(_(" --no-comments do not dump comment commands\n")); printf(_(" --no-publications do not dump publications\n")); printf(_(" --no-role-passwords do not dump passwords for roles\n")); printf(_(" --no-security-labels do not dump security label assignments\n")); diff --git a/src/bin/pg_dump/pg_restore.c b/src/bin/pg_dump/pg_restore.c index f2c1020d053..10da7d27da8 100644 --- a/src/bin/pg_dump/pg_restore.c +++ b/src/bin/pg_dump/pg_restore.c @@ -484,7 +484,7 @@ usage(const char *progname) printf(_(" --filter=FILENAME restore or skip objects based on expressions\n" " in FILENAME\n")); printf(_(" --if-exists use IF EXISTS when dropping objects\n")); - printf(_(" --no-comments do not restore comments\n")); + printf(_(" --no-comments do not restore comment commands\n")); printf(_(" --no-data-for-failed-tables do not restore data of tables that could not be\n" " created\n")); printf(_(" --no-publications do not restore publications\n")); |