Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
c50faf94
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,发现更多精彩内容 >>
提交
c50faf94
编写于
5月 10, 2004
作者:
B
Bruce Momjian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add variables names to static prototypes in initdb.c.
上级
491dc124
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
24 addition
and
22 deletion
+24
-22
src/bin/initdb/initdb.c
src/bin/initdb/initdb.c
+24
-22
未找到文件。
src/bin/initdb/initdb.c
浏览文件 @
c50faf94
...
...
@@ -43,7 +43,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
* Portions taken from FreeBSD.
*
* $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.2
5 2004/05/05 21:18:29 tgl
Exp $
* $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.2
6 2004/05/10 20:51:58 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -149,35 +149,36 @@ static const char *backend_options = "-F -O -c search_path=pg_catalog -c exit_on
char
*
pgpath
;
/* forward declare all our functions */
static
bool
rmtree
(
char
*
,
bool
);
static
void
exit_nicely
(
void
);
#ifdef WIN32
static
char
*
expanded_path
(
char
*
);
#else
#define expanded_path(x) (x)
#endif
static
char
**
readfile
(
char
*
);
static
void
writefile
(
char
*
,
char
**
);
static
void
*
xmalloc
(
size_t
size
);
static
char
*
xstrdup
(
const
char
*
s
);
static
bool
rmtree
(
char
*
path
,
bool
rmtopdir
);
static
char
**
replace_token
(
char
**
lines
,
char
*
token
,
char
*
replacement
);
static
char
**
readfile
(
char
*
path
);
static
void
writefile
(
char
*
path
,
char
**
lines
);
static
void
pclose_check
(
FILE
*
stream
);
static
int
mkdir_p
(
char
*
path
,
mode_t
omode
);
static
void
exit_nicely
(
void
);
static
char
*
get_id
(
void
);
static
char
*
get_encoding_id
(
char
*
);
static
char
*
get_encoding_id
(
char
*
encoding_name
);
static
char
*
get_short_version
(
void
);
static
int
mkdir_p
(
char
*
,
mode_t
);
static
int
check_data_dir
(
void
);
static
bool
mkdatadir
(
char
*
);
static
bool
chklocale
(
const
char
*
);
static
void
setlocales
(
void
);
static
void
set_input
(
char
**
,
char
*
);
static
int
check_data_dir
(
void
);
static
bool
mkdatadir
(
char
*
subdir
);
static
void
set_input
(
char
**
dest
,
char
*
filename
);
static
void
check_input
(
char
*
path
);
static
int
find_postgres
(
char
*
);
static
int
set_paths
(
void
);
static
char
**
replace_token
(
char
**
,
char
*
,
char
*
);
static
void
set_short_version
(
char
*
,
char
*
);
static
int
find_postgres
(
char
*
path
);
static
int
set_paths
(
void
);
static
void
set_short_version
(
char
*
short_version
,
char
*
extrapath
);
static
void
set_null_conf
(
void
);
static
void
test_buffers
(
void
);
static
void
test_connections
(
void
);
static
void
test_buffers
(
void
);
static
void
setup_config
(
void
);
static
void
bootstrap_template1
(
char
*
);
static
void
bootstrap_template1
(
char
*
short_version
);
static
void
setup_shadow
(
void
);
static
void
get_set_pwd
(
void
);
static
void
unlimit_systables
(
void
);
...
...
@@ -190,13 +191,14 @@ static void set_info_version(void);
static
void
setup_schema
(
void
);
static
void
vacuum_db
(
void
);
static
void
make_template0
(
void
);
static
void
usage
(
const
char
*
);
static
void
trapsig
(
int
);
static
void
trapsig
(
int
signum
);
static
void
check_ok
(
void
);
static
char
*
xstrdup
(
const
char
*
);
static
void
*
xmalloc
(
size_t
);
static
bool
chklocale
(
const
char
*
locale
);
static
void
setlocales
(
void
);
static
void
usage
(
const
char
*
progname
);
static
void
init_nls
(
void
);
/*
* macros for running pipes to postgres
*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录