Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
d9d2d915
Commit
d9d2d915
authored
18 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Recommend more clearly custom pg_dump format over tar, buy showing
custom format examples first.
parent
bcf860b7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/src/sgml/ref/pg_dump.sgml
+17
-17
17 additions, 17 deletions
doc/src/sgml/ref/pg_dump.sgml
with
17 additions
and
17 deletions
doc/src/sgml/ref/pg_dump.sgml
+
17
−
17
View file @
d9d2d915
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.8
3
2006/0
4/15 18:11:16
momjian Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.8
4
2006/0
5/06 23:25:37
momjian Exp $
PostgreSQL documentation
PostgreSQL documentation
-->
-->
...
@@ -244,28 +244,28 @@ PostgreSQL documentation
...
@@ -244,28 +244,28 @@ PostgreSQL documentation
</varlistentry>
</varlistentry>
<varlistentry>
<varlistentry>
<term><literal>
t
</></term>
<term><literal>
c
</></term>
<term><literal>
tar
</></term>
<term><literal>
custom
</></term>
<listitem>
<listitem>
<para>
<para>
Output a <command>tar</command> archive suitable for input into
Output a custom archive suitable for input into
<application>pg_restore</application>. Using this archive format
<application>pg_restore</application>. This is the most flexible
allows reordering and/or exclusion of database objects
format in that it allows reordering of loading data as well
at the time the database is restored. It is also possible to limit
as object definitions. This format is also compressed by default.
which data is reloaded at restore time.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
<varlistentry>
<varlistentry>
<term><literal>
c
</></term>
<term><literal>
t
</></term>
<term><literal>
custom
</></term>
<term><literal>
tar
</></term>
<listitem>
<listitem>
<para>
<para>
Output a custom archive suitable for input into
Output a <command>tar</command> archive suitable for input into
<application>pg_restore</application>. This is the most flexible
<application>pg_restore</application>. Using this archive format
format in that it allows reordering of loading data as well
allows reordering and/or exclusion of database objects
as object definitions. This format is also compressed by default.
at the time the database is restored. It is also possible to limit
which data is reloaded at restore time.
</para>
</para>
</listitem>
</listitem>
</varlistentry>
</varlistentry>
...
@@ -665,11 +665,11 @@ CREATE DATABASE foo WITH TEMPLATE template0;
...
@@ -665,11 +665,11 @@ CREATE DATABASE foo WITH TEMPLATE template0;
</para>
</para>
<para>
<para>
To dump a database called <literal>mydb</> to a
<
file
name>tar</filename>
To dump a database called <literal>mydb</> to a file
in custom format:
file:
file:
<screen>
<screen>
<prompt>$</prompt> <userinput>pg_dump -F
t
mydb > db.
tar
</userinput>
<prompt>$</prompt> <userinput>pg_dump -F
c
mydb > db.
out
</userinput>
</screen>
</screen>
</para>
</para>
...
@@ -677,7 +677,7 @@ CREATE DATABASE foo WITH TEMPLATE template0;
...
@@ -677,7 +677,7 @@ CREATE DATABASE foo WITH TEMPLATE template0;
To reload this dump into an existing database called <literal>newdb</>:
To reload this dump into an existing database called <literal>newdb</>:
<screen>
<screen>
<prompt>$</prompt> <userinput>pg_restore -d newdb db.
tar
</userinput>
<prompt>$</prompt> <userinput>pg_restore -d newdb db.
out
</userinput>
</screen>
</screen>
</para>
</para>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment