Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
c52670e8
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,发现更多精彩内容 >>
提交
c52670e8
编写于
3月 21, 2002
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix pg_dump help option alignment.
上级
78d40a2a
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
61 addition
and
62 deletion
+61
-62
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.c
+61
-62
未找到文件。
src/bin/pg_dump/pg_dump.c
浏览文件 @
c52670e8
...
...
@@ -22,7 +22,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.24
3 2002/03/06 20:48:42
momjian Exp $
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dump.c,v 1.24
4 2002/03/21 05:47:14
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -141,71 +141,71 @@ help(const char *progname)
#ifdef HAVE_GETOPT_LONG
puts
(
gettext
(
" -a, --data-only dump only the data, not the schema
\n
"
" -b, --blobs include large objects in dump
\n
"
" -c, --clean clean (drop) schema prior to create
\n
"
" -C, --create include commands to create database in dump
\n
"
" -d, --inserts dump data as INSERT, rather than COPY, commands
\n
"
" -D, --column-inserts dump data as INSERT commands with column names
\n
"
" -f, --file=FILENAME output file name
\n
"
" -F, --format {c|t|p} output file format (custom, tar, plain text)
\n
"
" -h, --host=HOSTNAME database server host name
\n
"
" -i, --ignore-version proceed even when server version mismatches
\n
"
" pg_dump version
\n
"
" -n, --no-quotes suppress most quotes around identifiers
\n
"
" -N, --quotes enable most quotes around identifiers
\n
"
" -o, --oids include oids in dump
\n
"
" -O, --no-owner do not output
\\
connect commands in plain
\n
"
" text format
\n
"
" -p, --port=PORT database server port number
\n
"
" -R, --no-reconnect disable ALL reconnections to the database in
\n
"
" plain text format
\n
"
" -s, --schema-only dump only the schema, no data
\n
"
" -S, --superuser=NAME specify the superuser user name to use in
\n
"
" plain text format
\n
"
" -t, --table=TABLE dump this table only (* for all)
\n
"
" -b, --blobs include large objects in dump
\n
"
" -c, --clean clean (drop) schema prior to create
\n
"
" -C, --create include commands to create database in dump
\n
"
" -d, --inserts dump data as INSERT, rather than COPY, commands
\n
"
" -D, --column-inserts dump data as INSERT commands with column names
\n
"
" -f, --file=FILENAME output file name
\n
"
" -F, --format {c|t|p} output file format (custom, tar, plain text)
\n
"
" -h, --host=HOSTNAME database server host name
\n
"
" -i, --ignore-version proceed even when server version mismatches
\n
"
" pg_dump version
\n
"
" -n, --no-quotes suppress most quotes around identifiers
\n
"
" -N, --quotes enable most quotes around identifiers
\n
"
" -o, --oids include oids in dump
\n
"
" -O, --no-owner do not output
\\
connect commands in plain
\n
"
" text format
\n
"
" -p, --port=PORT database server port number
\n
"
" -R, --no-reconnect disable ALL reconnections to the database in
\n
"
" plain text format
\n
"
" -s, --schema-only dump only the schema, no data
\n
"
" -S, --superuser=NAME specify the superuser user name to use in
\n
"
" plain text format
\n
"
" -t, --table=TABLE dump this table only (* for all)
\n
"
" -U, --username=NAME connect as specified database user
\n
"
" -v, --verbose verbose mode
\n
"
" -W, --password force password prompt (should happen automatically)
\n
"
" -x, --no-privileges do not dump privileges (grant/revoke)
\n
"
" -X use-set-session-authorization, --use-set-session-authorization
\n
"
" output SET SESSION AUTHORIZATION commands rather
\n
"
" than
\\
connect commands
\n
"
" -Z, --compress {0-9} compression level for compressed formats
\n
"
));
" -v, --verbose verbose mode
\n
"
" -W, --password force password prompt (should happen automatically)
\n
"
" -x, --no-privileges do not dump privileges (grant/revoke)
\n
"
" -X use-set-session-authorization, --use-set-session-authorization
\n
"
" output SET SESSION AUTHORIZATION commands rather
\n
"
" than
\\
connect commands
\n
"
" -Z, --compress {0-9} compression level for compressed formats
\n
"
));
#else
puts
(
gettext
(
" -a dump only the data, not the schema
\n
"
" -b include large objects in dump
\n
"
" -c clean (drop) schema prior to create
\n
"
" -C include commands to create database in dump
\n
"
" -d dump data as INSERT, rather than COPY, commands
\n
"
" -D dump data as INSERT commands with column names
\n
"
" -f FILENAME output file name
\n
"
" -F {c|t|p} output file format (custom, tar, plain text)
\n
"
" -h HOSTNAME database server host name
\n
"
" -i proceed even when server version mismatches
\n
"
" pg_dump version
\n
"
" -n suppress most quotes around identifiers
\n
"
" -N enable most quotes around identifiers
\n
"
" -o include oids in dump
\n
"
" -O do not output
\\
connect commands in plain
\n
"
" text format
\n
"
" -p PORT database server port number
\n
"
" -R disable ALL reconnections to the database in
\n
"
" plain text format
\n
"
" -s dump only the schema, no data
\n
"
" -S NAME specify the superuser user name to use in
\n
"
" plain text format
\n
"
" -t TABLE dump this table only (* for all)
\n
"
" -b include large objects in dump
\n
"
" -c clean (drop) schema prior to create
\n
"
" -C include commands to create database in dump
\n
"
" -d dump data as INSERT, rather than COPY, commands
\n
"
" -D dump data as INSERT commands with column names
\n
"
" -f FILENAME output file name
\n
"
" -F {c|t|p} output file format (custom, tar, plain text)
\n
"
" -h HOSTNAME database server host name
\n
"
" -i proceed even when server version mismatches
\n
"
" pg_dump version
\n
"
" -n suppress most quotes around identifiers
\n
"
" -N enable most quotes around identifiers
\n
"
" -o include oids in dump
\n
"
" -O do not output
\\
connect commands in plain
\n
"
" text format
\n
"
" -p PORT database server port number
\n
"
" -R disable ALL reconnections to the database in
\n
"
" plain text format
\n
"
" -s dump only the schema, no data
\n
"
" -S NAME specify the superuser user name to use in
\n
"
" plain text format
\n
"
" -t TABLE dump this table only (* for all)
\n
"
" -U NAME connect as specified database user
\n
"
" -v verbose mode
\n
"
" -W force password prompt (should happen automatically)
\n
"
" -x do not dump privileges (grant/revoke)
\n
"
" -X use-set-session-authorization
\n
"
" output SET SESSION AUTHORIZATION commands rather
\n
"
" than
\\
connect commands
\n
"
" -Z {0-9} compression level for compressed formats
\n
"
));
" -v verbose mode
\n
"
" -W force password prompt (should happen automatically)
\n
"
" -x do not dump privileges (grant/revoke)
\n
"
" -X use-set-session-authorization
\n
"
" output SET SESSION AUTHORIZATION commands rather
\n
"
" than
\\
connect commands
\n
"
" -Z {0-9} compression level for compressed formats
\n
"
));
#endif
puts
(
gettext
(
"If no database name is not supplied, then the PGDATABASE environment
\n
"
"variable value is used.
\n\n
"
...
...
@@ -4081,7 +4081,6 @@ dumpACL(Archive *fout, TableInfo tbinfo)
objoid
=
tbinfo
.
oid
;
ArchiveEntry
(
fout
,
objoid
,
tbinfo
.
relname
,
"ACL"
,
NULL
,
sql
,
""
,
""
,
""
,
NULL
,
NULL
);
}
static
void
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录