Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
d9d2d915
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d9d2d915
编写于
5月 06, 2006
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Recommend more clearly custom pg_dump format over tar, buy showing
custom format examples first.
上级
bcf860b7
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
17 addition
and
17 deletion
+17
-17
doc/src/sgml/ref/pg_dump.sgml
doc/src/sgml/ref/pg_dump.sgml
+17
-17
未找到文件。
doc/src/sgml/ref/pg_dump.sgml
浏览文件 @
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
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
<filename>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>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录