Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1bc8acc

Browse files
committed
Clarify statements about tar archive format.
1 parent 8a12aac commit 1bc8acc

File tree

1 file changed

+16
-12
lines changed

1 file changed

+16
-12
lines changed

doc/src/sgml/ref/pg_dump.sgml

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.116 2010/02/19 14:36:45 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.117 2010/02/23 17:28:09 tgl Exp $
33
PostgreSQL documentation
44
-->
55

@@ -77,8 +77,8 @@ PostgreSQL documentation
7777
the <quote>custom</quote> format (<option>-Fc</option>). It allows
7878
for selection and reordering of all archived items, and is compressed
7979
by default. The <application>tar</application> format
80-
(<option>-Ft</option>) is not compressed and it is not possible to
81-
reorder data when loading, but it is otherwise quite flexible;
80+
(<option>-Ft</option>) is not compressed and has restrictions on
81+
reordering data when loading, but it is otherwise quite flexible;
8282
moreover, it can be manipulated with standard Unix tools such as
8383
<command>tar</command>.
8484
</para>
@@ -224,10 +224,11 @@ PostgreSQL documentation
224224
<term><literal>custom</></term>
225225
<listitem>
226226
<para>
227-
Output a custom archive suitable for input into
228-
<application>pg_restore</application>. This is the most flexible
229-
format in that it allows reordering of loading data as well
230-
as object definitions. This format is also compressed by default.
227+
Output a custom-format archive suitable for input into
228+
<application>pg_restore</application>.
229+
This is the most flexible output format in that it allows manual
230+
selection and reordering of archived items during restore.
231+
This format is also compressed by default.
231232
</para>
232233
</listitem>
233234
</varlistentry>
@@ -237,11 +238,14 @@ PostgreSQL documentation
237238
<term><literal>tar</></term>
238239
<listitem>
239240
<para>
240-
Output a <command>tar</command> archive suitable for input into
241-
<application>pg_restore</application>. Using this archive format
242-
allows reordering and/or exclusion of database objects
243-
at the time the database is restored. It is also possible to limit
244-
which data is reloaded at restore time.
241+
Output a <command>tar</command>-format archive suitable for input
242+
into <application>pg_restore</application>.
243+
This output format allows manual selection and reordering of
244+
archived items during restore, but there is a restriction: the
245+
relative order of table data items cannot be changed during
246+
restore. Also, <command>tar</command> format does not support
247+
compression and has a limit of 8 GB on the size of individual
248+
tables.
245249
</para>
246250
</listitem>
247251
</varlistentry>

0 commit comments

Comments
 (0)