Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
56f9ff72
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,发现更多精彩内容 >>
提交
56f9ff72
编写于
11月 08, 2007
作者:
P
Peter Eisentraut
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add missing newlines to error messages, and normalize wording a bit.
上级
2de946be
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
16 addition
and
16 deletion
+16
-16
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dump.c
+16
-16
未找到文件。
src/bin/pg_dump/pg_dump.c
浏览文件 @
56f9ff72
...
...
@@ -12,7 +12,7 @@
* by PostgreSQL
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.47
4 2007/11/07 13:11:05
petere Exp $
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.47
5 2007/11/08 10:37:54
petere Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -5524,7 +5524,7 @@ dumpEnumType(Archive *fout, TypeInfo *tinfo)
/* should be at least 1 value */
if
(
num
==
0
)
{
write_msg
(
NULL
,
"no label definitions found for enum ID %u"
,
tinfo
->
dobj
.
catId
.
oid
);
write_msg
(
NULL
,
"no label definitions found for enum ID %u
\n
"
,
tinfo
->
dobj
.
catId
.
oid
);
exit_nicely
();
}
...
...
@@ -5753,7 +5753,7 @@ dumpBaseType(Archive *fout, TypeInfo *tinfo)
ntups
=
PQntuples
(
res
);
if
(
ntups
!=
1
)
{
write_msg
(
NULL
,
"
Got %d rows instead of one from: %s
"
,
write_msg
(
NULL
,
"
query returned %d rows instead of one: %s
\n
"
,
ntups
,
query
->
data
);
exit_nicely
();
}
...
...
@@ -5938,7 +5938,7 @@ dumpDomain(Archive *fout, TypeInfo *tinfo)
ntups
=
PQntuples
(
res
);
if
(
ntups
!=
1
)
{
write_msg
(
NULL
,
"
Got %d rows instead of one from: %s
"
,
write_msg
(
NULL
,
"
query returned %d rows instead of one: %s
\n
"
,
ntups
,
query
->
data
);
exit_nicely
();
}
...
...
@@ -6057,7 +6057,7 @@ dumpCompositeType(Archive *fout, TypeInfo *tinfo)
ntups
=
PQntuples
(
res
);
if
(
ntups
<
1
)
{
write_msg
(
NULL
,
"query
yield
ed no rows: %s
\n
"
,
query
->
data
);
write_msg
(
NULL
,
"query
return
ed no rows: %s
\n
"
,
query
->
data
);
exit_nicely
();
}
...
...
@@ -6537,7 +6537,7 @@ dumpFunc(Archive *fout, FuncInfo *finfo)
ntups
=
PQntuples
(
res
);
if
(
ntups
!=
1
)
{
write_msg
(
NULL
,
"
Got %d rows instead of one from: %s
"
,
write_msg
(
NULL
,
"
query returned %d rows instead of one: %s
\n
"
,
ntups
,
query
->
data
);
exit_nicely
();
}
...
...
@@ -7029,7 +7029,7 @@ dumpOpr(Archive *fout, OprInfo *oprinfo)
ntups
=
PQntuples
(
res
);
if
(
ntups
!=
1
)
{
write_msg
(
NULL
,
"
Got %d rows instead of one from: %s
"
,
write_msg
(
NULL
,
"
query returned %d rows instead of one: %s
\n
"
,
ntups
,
query
->
data
);
exit_nicely
();
}
...
...
@@ -7276,7 +7276,7 @@ convertTSFunction(Oid funcOid)
ntups
=
PQntuples
(
res
);
if
(
ntups
!=
1
)
{
write_msg
(
NULL
,
"
Got %d rows instead of one from
\"
%s
\"
\n
"
,
write_msg
(
NULL
,
"
query returned %d rows instead of one: %s
\n
"
,
ntups
,
query
);
exit_nicely
();
}
...
...
@@ -7380,7 +7380,7 @@ dumpOpclass(Archive *fout, OpclassInfo *opcinfo)
ntups
=
PQntuples
(
res
);
if
(
ntups
!=
1
)
{
write_msg
(
NULL
,
"
Got %d rows instead of one from: %s
"
,
write_msg
(
NULL
,
"
query returned %d rows instead of one: %s
\n
"
,
ntups
,
query
->
data
);
exit_nicely
();
}
...
...
@@ -7718,7 +7718,7 @@ dumpOpfamily(Archive *fout, OpfamilyInfo *opfinfo)
ntups
=
PQntuples
(
res
);
if
(
ntups
!=
1
)
{
write_msg
(
NULL
,
"
Got %d rows instead of one from: %s
"
,
write_msg
(
NULL
,
"
query returned %d rows instead of one: %s
\n
"
,
ntups
,
query
->
data
);
exit_nicely
();
}
...
...
@@ -7891,7 +7891,7 @@ dumpConversion(Archive *fout, ConvInfo *convinfo)
ntups
=
PQntuples
(
res
);
if
(
ntups
!=
1
)
{
write_msg
(
NULL
,
"
Got %d rows instead of one from: %s
"
,
write_msg
(
NULL
,
"
query returned %d rows instead of one: %s
\n
"
,
ntups
,
query
->
data
);
exit_nicely
();
}
...
...
@@ -8085,7 +8085,7 @@ dumpAgg(Archive *fout, AggInfo *agginfo)
ntups
=
PQntuples
(
res
);
if
(
ntups
!=
1
)
{
write_msg
(
NULL
,
"
Got %d rows instead of one from: %s
"
,
write_msg
(
NULL
,
"
query returned %d rows instead of one: %s
\n
"
,
ntups
,
query
->
data
);
exit_nicely
();
}
...
...
@@ -8308,7 +8308,7 @@ dumpTSDictionary(Archive *fout, TSDictInfo * dictinfo)
ntups
=
PQntuples
(
res
);
if
(
ntups
!=
1
)
{
write_msg
(
NULL
,
"
Got %d rows instead of one from
\"
%s
\"
\n
"
,
write_msg
(
NULL
,
"
query returned %d rows instead of one: %s
\n
"
,
ntups
,
query
->
data
);
exit_nicely
();
}
...
...
@@ -8459,7 +8459,7 @@ dumpTSConfig(Archive *fout, TSConfigInfo * cfginfo)
ntups
=
PQntuples
(
res
);
if
(
ntups
!=
1
)
{
write_msg
(
NULL
,
"
Got %d rows instead of one from
\"
%s
\"
\n
"
,
write_msg
(
NULL
,
"
query returned %d rows instead of one: %s
\n
"
,
ntups
,
query
->
data
);
exit_nicely
();
}
...
...
@@ -9810,7 +9810,7 @@ dumpRule(Archive *fout, RuleInfo *rinfo)
if
(
PQntuples
(
res
)
!=
1
)
{
write_msg
(
NULL
,
"query to get rule
\"
%s
\"
for table
\"
%s
\"
failed: wrong number of rows returned"
,
write_msg
(
NULL
,
"query to get rule
\"
%s
\"
for table
\"
%s
\"
failed: wrong number of rows returned
\n
"
,
rinfo
->
dobj
.
name
,
tbinfo
->
dobj
.
name
);
exit_nicely
();
}
...
...
@@ -10093,7 +10093,7 @@ getFormattedTypeName(Oid oid, OidOptions opts)
ntups
=
PQntuples
(
res
);
if
(
ntups
!=
1
)
{
write_msg
(
NULL
,
"query
yield
ed %d rows instead of one: %s
\n
"
,
write_msg
(
NULL
,
"query
return
ed %d rows instead of one: %s
\n
"
,
ntups
,
query
->
data
);
exit_nicely
();
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录