Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
c50faf94
Commit
c50faf94
authored
May 10, 2004
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add variables names to static prototypes in initdb.c.
parent
491dc124
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
22 deletions
+24
-22
src/bin/initdb/initdb.c
src/bin/initdb/initdb.c
+24
-22
No files found.
src/bin/initdb/initdb.c
View file @
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
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment