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

Commitc672d70

Browse files
committed
Fix description and documentation related to pg_restore --no-comments
These descriptions have been referring to object dump, but a restoreoperation is done.Reported-by: Andrey LizenkoAuthor: Andrey LizenkoDiscussion:https://postgr.es/m/152992021588.1268.16786093506650391435@wrigleys.postgresql.org
1 parentd08c3d5 commitc672d70

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

‎doc/src/sgml/ref/pg_restore.sgml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,8 @@
579579
<term><option>--no-comments</option></term>
580580
<listitem>
581581
<para>
582-
Do not dump comments.
582+
Do not output commands to restore comments, even if the archive
583+
contains them.
583584
</para>
584585
</listitem>
585586
</varlistentry>

‎src/bin/pg_dump/pg_restore.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ usage(const char *progname)
483483
printf(_(" --disable-triggers disable triggers during data-only restore\n"));
484484
printf(_(" --enable-row-security enable row security\n"));
485485
printf(_(" --if-exists use IF EXISTS when dropping objects\n"));
486-
printf(_(" --no-comments do notdump comments\n"));
486+
printf(_(" --no-comments do notrestore comments\n"));
487487
printf(_(" --no-data-for-failed-tables do not restore data of tables that could not be\n"
488488
" created\n"));
489489
printf(_(" --no-publications do not restore publications\n"));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp