diff options
-rw-r--r-- | doc/src/sgml/ref/pg_restore.sgml | 3 | ||||
-rw-r--r-- | src/bin/pg_dump/pg_restore.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/src/sgml/ref/pg_restore.sgml b/doc/src/sgml/ref/pg_restore.sgml index 345324bd27d..725acb192c9 100644 --- a/doc/src/sgml/ref/pg_restore.sgml +++ b/doc/src/sgml/ref/pg_restore.sgml @@ -579,7 +579,8 @@ <term><option>--no-comments</option></term> <listitem> <para> - Do not dump comments. + Do not output commands to restore comments, even if the archive + contains them. </para> </listitem> </varlistentry> diff --git a/src/bin/pg_dump/pg_restore.c b/src/bin/pg_dump/pg_restore.c index 2342a635712..501d7cea72b 100644 --- a/src/bin/pg_dump/pg_restore.c +++ b/src/bin/pg_dump/pg_restore.c @@ -483,7 +483,7 @@ usage(const char *progname) printf(_(" --disable-triggers disable triggers during data-only restore\n")); printf(_(" --enable-row-security enable row security\n")); printf(_(" --if-exists use IF EXISTS when dropping objects\n")); - printf(_(" --no-comments do not dump comments\n")); + printf(_(" --no-comments do not restore comments\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")); |