Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
d9d2d915
Commit
d9d2d915
authored
May 06, 2006
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Recommend more clearly custom pg_dump format over tar, buy showing
custom format examples first.
parent
bcf860b7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
doc/src/sgml/ref/pg_dump.sgml
doc/src/sgml/ref/pg_dump.sgml
+17
-17
No files found.
doc/src/sgml/ref/pg_dump.sgml
View file @
d9d2d915
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.8
3 2006/04/15 18:11:16
momjian Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.8
4 2006/05/06 23:25:37
momjian Exp $
PostgreSQL documentation
-->
...
...
@@ -244,28 +244,28 @@ PostgreSQL documentation
</varlistentry>
<varlistentry>
<term><literal>
t
</></term>
<term><literal>
tar
</></term>
<term><literal>
c
</></term>
<term><literal>
custom
</></term>
<listitem>
<para>
Output a <command>tar</command> archive suitable for input into
<application>pg_restore</application>. Using this archive format
allows reordering and/or exclusion of database objects
at the time the database is restored. It is also possible to limit
which data is reloaded at restore time.
Output a custom archive suitable for input into
<application>pg_restore</application>. This is the most flexible
format in that it allows reordering of loading data as well
as object definitions. This format is also compressed by default.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><literal>
c
</></term>
<term><literal>
custom
</></term>
<term><literal>
t
</></term>
<term><literal>
tar
</></term>
<listitem>
<para>
Output a custom archive suitable for input into
<application>pg_restore</application>. This is the most flexible
format in that it allows reordering of loading data as well
as object definitions. This format is also compressed by default.
Output a <command>tar</command> archive suitable for input into
<application>pg_restore</application>. Using this archive format
allows reordering and/or exclusion of database objects
at the time the database is restored. It is also possible to limit
which data is reloaded at restore time.
</para>
</listitem>
</varlistentry>
...
...
@@ -665,11 +665,11 @@ CREATE DATABASE foo WITH TEMPLATE template0;
</para>
<para>
To dump a database called <literal>mydb</> to a
<filename>tar</filename>
To dump a database called <literal>mydb</> to a
file in custom format:
file:
<screen>
<prompt>$</prompt> <userinput>pg_dump -F
t mydb > db.tar
</userinput>
<prompt>$</prompt> <userinput>pg_dump -F
c mydb > db.out
</userinput>
</screen>
</para>
...
...
@@ -677,7 +677,7 @@ CREATE DATABASE foo WITH TEMPLATE template0;
To reload this dump into an existing database called <literal>newdb</>:
<screen>
<prompt>$</prompt> <userinput>pg_restore -d newdb db.
tar
</userinput>
<prompt>$</prompt> <userinput>pg_restore -d newdb db.
out
</userinput>
</screen>
</para>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment