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

Commitb8c4d38

Browse files
committed
Clarify documentation around pg_dump -t option
The behavior is different for different types of objects, so make thatmore clear.Author: Ian Barwick
1 parent5b36221 commitb8c4d38

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

‎doc/src/sgml/ref/pg_dump.sgml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -517,9 +517,7 @@ PostgreSQL documentation
517517
<listitem>
518518
<para>
519519
Dump only tables with names matching
520-
<replaceable class="parameter">pattern</replaceable>.
521-
For this purpose, <quote>table</quote> includes views, materialized views,
522-
sequences, and foreign tables. Multiple tables
520+
<replaceable class="parameter">pattern</replaceable>. Multiple tables
523521
can be selected by writing multiple <option>-t</option> switches. The
524522
<replaceable class="parameter">pattern</replaceable> parameter is
525523
interpreted as a pattern according to the same rules used by
@@ -531,6 +529,14 @@ PostgreSQL documentation
531529
<xref linkend="pg-dump-examples"/> below.
532530
</para>
533531

532+
<para>
533+
As well as tables, this option can be used to dump views, materialized views,
534+
foreign tables, and sequence definitions. However it will not dump the contents
535+
of views or materialized views, and the contents of foreign tables will only be
536+
dumped if the corresponding foreign server is specified with
537+
<option>--include-foreign-data</option>.
538+
</para>
539+
534540
<para>
535541
The <option>-n</option> and <option>-N</option> switches have no effect when
536542
<option>-t</option> is used, because tables selected by <option>-t</option> will

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp