Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
5d0109bd
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,发现更多精彩内容 >>
提交
5d0109bd
编写于
6月 07, 2012
作者:
P
Peter Eisentraut
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Message style improvements
上级
e8d029a3
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
11 addition
and
11 deletion
+11
-11
src/bin/initdb/initdb.c
src/bin/initdb/initdb.c
+2
-2
src/bin/pg_ctl/pg_ctl.c
src/bin/pg_ctl/pg_ctl.c
+1
-1
src/bin/pg_dump/compress_io.c
src/bin/pg_dump/compress_io.c
+1
-1
src/bin/pg_dump/dumputils.c
src/bin/pg_dump/dumputils.c
+1
-1
src/bin/pg_dump/pg_backup_directory.c
src/bin/pg_dump/pg_backup_directory.c
+3
-3
src/bin/pg_dump/pg_dump_sort.c
src/bin/pg_dump/pg_dump_sort.c
+1
-1
src/bin/pg_resetxlog/pg_resetxlog.c
src/bin/pg_resetxlog/pg_resetxlog.c
+1
-1
src/bin/psql/command.c
src/bin/psql/command.c
+1
-1
未找到文件。
src/bin/initdb/initdb.c
浏览文件 @
5d0109bd
...
...
@@ -2493,7 +2493,7 @@ CreateRestrictedProcess(char *cmd, PROCESS_INFORMATION *processInfo)
processInfo
))
{
fprintf
(
stderr
,
_
(
"%s: could not start process for
\"
%s
\"
: error code %lu
\n
"
),
progname
,
cmd
,
GetLastError
());
fprintf
(
stderr
,
_
(
"%s: could not start process for
command
\"
%s
\"
: error code %lu
\n
"
),
progname
,
cmd
,
GetLastError
());
return
0
;
}
...
...
@@ -2838,7 +2838,7 @@ main(int argc, char *argv[])
if
(
!
CreateRestrictedProcess
(
cmdline
,
&
pi
))
{
fprintf
(
stderr
,
_
(
"%s: could not re-exec with restricted token: error code %lu
\n
"
),
progname
,
GetLastError
());
fprintf
(
stderr
,
_
(
"%s: could not re-exec
ute
with restricted token: error code %lu
\n
"
),
progname
,
GetLastError
());
}
else
{
...
...
src/bin/pg_ctl/pg_ctl.c
浏览文件 @
5d0109bd
...
...
@@ -1926,7 +1926,7 @@ adjust_data_dir(void)
fd
=
popen
(
cmd
,
"r"
);
if
(
fd
==
NULL
||
fgets
(
filename
,
sizeof
(
filename
),
fd
)
==
NULL
)
{
write_stderr
(
_
(
"%s: c
annot find the data directory using %s
\n
"
),
progname
,
my_exec_path
);
write_stderr
(
_
(
"%s: c
ould not determine the data directory using
\"
%s
\"\n
"
),
progname
,
cmd
);
exit
(
1
);
}
pclose
(
fd
);
...
...
src/bin/pg_dump/compress_io.c
浏览文件 @
5d0109bd
...
...
@@ -110,7 +110,7 @@ ParseCompressionOption(int compression, CompressionAlgorithm *alg, int *level)
*
alg
=
COMPR_ALG_NONE
;
else
{
exit_horribly
(
modulename
,
"
I
nvalid compression code: %d
\n
"
,
exit_horribly
(
modulename
,
"
i
nvalid compression code: %d
\n
"
,
compression
);
*
alg
=
COMPR_ALG_NONE
;
/* keep compiler quiet */
}
...
...
src/bin/pg_dump/dumputils.c
浏览文件 @
5d0109bd
...
...
@@ -1260,7 +1260,7 @@ set_dump_section(const char *arg, int *dumpSections)
*
dumpSections
|=
DUMP_POST_DATA
;
else
{
fprintf
(
stderr
,
_
(
"%s: un
known section name
\"
%s
\"
)
\n
"
),
fprintf
(
stderr
,
_
(
"%s: un
recognized section name:
\"
%s
\"
\n
"
),
progname
,
arg
);
fprintf
(
stderr
,
_
(
"Try
\"
%s --help
\"
for more information.
\n
"
),
progname
);
...
...
src/bin/pg_dump/pg_backup_directory.c
浏览文件 @
5d0109bd
...
...
@@ -407,8 +407,8 @@ _LoadBlobs(ArchiveHandle *AH, RestoreOptions *ropt)
char
path
[
MAXPGPATH
];
if
(
sscanf
(
line
,
"%u %s
\n
"
,
&
oid
,
fname
)
!=
2
)
exit_horribly
(
modulename
,
"invalid line in large object TOC file
: %s
\n
"
,
line
);
exit_horribly
(
modulename
,
"invalid line in large object TOC file
\"
%s
\"
:
\"
%s
\"
\n
"
,
fname
,
line
);
StartRestoreBlob
(
AH
,
oid
,
ropt
->
dropSchema
);
snprintf
(
path
,
MAXPGPATH
,
"%s/%s"
,
ctx
->
directory
,
fname
);
...
...
@@ -667,7 +667,7 @@ prependDirectory(ArchiveHandle *AH, const char *relativeFilename)
dname
=
ctx
->
directory
;
if
(
strlen
(
dname
)
+
1
+
strlen
(
relativeFilename
)
+
1
>
MAXPGPATH
)
exit_horribly
(
modulename
,
"
path name too long: %s
"
,
dname
);
exit_horribly
(
modulename
,
"
file name too long:
\"
%s
\"
"
,
dname
);
strcpy
(
buf
,
dname
);
strcat
(
buf
,
"/"
);
...
...
src/bin/pg_dump/pg_dump_sort.c
浏览文件 @
5d0109bd
...
...
@@ -993,7 +993,7 @@ repairDependencyLoop(DumpableObject **loop,
write_msg
(
NULL
,
"NOTICE: there are circular foreign-key constraints among these table(s):
\n
"
);
for
(
i
=
0
;
i
<
nLoop
;
i
++
)
write_msg
(
NULL
,
" %s
\n
"
,
loop
[
i
]
->
name
);
write_msg
(
NULL
,
"You m
ay
not be able to restore the dump without using --disable-triggers or temporarily dropping the constraints.
\n
"
);
write_msg
(
NULL
,
"You m
ight
not be able to restore the dump without using --disable-triggers or temporarily dropping the constraints.
\n
"
);
write_msg
(
NULL
,
"Consider using a full dump instead of a --data-only dump to avoid this problem.
\n
"
);
if
(
nLoop
>
1
)
removeObjectDependency
(
loop
[
0
],
loop
[
1
]
->
dumpId
);
...
...
src/bin/pg_resetxlog/pg_resetxlog.c
浏览文件 @
5d0109bd
...
...
@@ -570,7 +570,7 @@ PrintControlValues(bool guessed)
sysident_str
);
printf
(
_
(
"Latest checkpoint's TimeLineID: %u
\n
"
),
ControlFile
.
checkPointCopy
.
ThisTimeLineID
);
printf
(
_
(
"Latest checkpoint's full_page_writes:
%s
\n
"
),
printf
(
_
(
"Latest checkpoint's full_page_writes: %s
\n
"
),
ControlFile
.
checkPointCopy
.
fullPageWrites
?
_
(
"on"
)
:
_
(
"off"
));
printf
(
_
(
"Latest checkpoint's NextXID: %u/%u
\n
"
),
ControlFile
.
checkPointCopy
.
nextXidEpoch
,
...
...
src/bin/psql/command.c
浏览文件 @
5d0109bd
...
...
@@ -1114,7 +1114,7 @@ exec_command(const char *cmd,
}
else
if
(
strchr
(
envvar
,
'='
)
!=
NULL
)
{
psql_error
(
"
\\
%s: environment variable name must not contain
'='
\n
"
,
psql_error
(
"
\\
%s: environment variable name must not contain
\"
=
\"
\n
"
,
cmd
);
success
=
false
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录