Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf722dd3

Browse files
committed
clarify --no-comments option in --help and SGML files
The previous commit,b38bac2, missed these cases for dump/restore.Reported-by: Tom LaneDiscussion:https://postgr.es/m/3495698.1731968093@sss.pgh.pa.usBackpatch-through: master
1 parent7074337 commitf722dd3

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

‎doc/src/sgml/ref/pg_dumpall.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ exclude database <replaceable class="parameter">PATTERN</replaceable>
417417
<term><option>--no-comments</option></term>
418418
<listitem>
419419
<para>
420-
Do not dumpcomments.
420+
Do not dump<command>COMMENT</command> commands.
421421
</para>
422422
</listitem>
423423
</varlistentry>

‎src/bin/pg_dump/pg_dump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1212,7 +1212,7 @@ help(const char *progname)
12121212
" servers matching PATTERN\n"));
12131213
printf(_(" --inserts dump data as INSERT commands, rather than COPY\n"));
12141214
printf(_(" --load-via-partition-root load partitions via the root table\n"));
1215-
printf(_(" --no-comments do not dumpcomments\n"));
1215+
printf(_(" --no-comments do not dumpcomment commands\n"));
12161216
printf(_(" --no-publications do not dump publications\n"));
12171217
printf(_(" --no-security-labels do not dump security label assignments\n"));
12181218
printf(_(" --no-subscriptions do not dump subscriptions\n"));

‎src/bin/pg_dump/pg_dumpall.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ help(void)
662662
printf(_(" --if-exists use IF EXISTS when dropping objects\n"));
663663
printf(_(" --inserts dump data as INSERT commands, rather than COPY\n"));
664664
printf(_(" --load-via-partition-root load partitions via the root table\n"));
665-
printf(_(" --no-comments do not dumpcomments\n"));
665+
printf(_(" --no-comments do not dumpcomment commands\n"));
666666
printf(_(" --no-publications do not dump publications\n"));
667667
printf(_(" --no-role-passwords do not dump passwords for roles\n"));
668668
printf(_(" --no-security-labels do not dump security label assignments\n"));

‎src/bin/pg_dump/pg_restore.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ usage(const char *progname)
484484
printf(_(" --filter=FILENAME restore or skip objects based on expressions\n"
485485
" in FILENAME\n"));
486486
printf(_(" --if-exists use IF EXISTS when dropping objects\n"));
487-
printf(_(" --no-comments do not restorecomments\n"));
487+
printf(_(" --no-comments do not restorecomment commands\n"));
488488
printf(_(" --no-data-for-failed-tables do not restore data of tables that could not be\n"
489489
" created\n"));
490490
printf(_(" --no-publications do not restore publications\n"));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp