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

Commit0639f9b

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 parente9703ce commit0639f9b

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
@@ -516,9 +516,7 @@ PostgreSQL documentation
516516
<listitem>
517517
<para>
518518
Dump only tables with names matching
519-
<replaceable class="parameter">pattern</replaceable>.
520-
For this purpose, <quote>table</quote> includes views, materialized views,
521-
sequences, and foreign tables. Multiple tables
519+
<replaceable class="parameter">pattern</replaceable>. Multiple tables
522520
can be selected by writing multiple <option>-t</option> switches. The
523521
<replaceable class="parameter">pattern</replaceable> parameter is
524522
interpreted as a pattern according to the same rules used by
@@ -530,6 +528,14 @@ PostgreSQL documentation
530528
<xref linkend="pg-dump-examples"/> below.
531529
</para>
532530

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp