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
07456b45
Commit
07456b45
authored
Oct 19, 2010
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pgindent run on pg_upgrade source after restructuring.
parent
e13f7e9a
Changes
12
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
66 additions
and
63 deletions
+66
-63
contrib/pg_upgrade/check.c
contrib/pg_upgrade/check.c
+14
-14
contrib/pg_upgrade/controldata.c
contrib/pg_upgrade/controldata.c
+6
-5
contrib/pg_upgrade/dump.c
contrib/pg_upgrade/dump.c
+1
-1
contrib/pg_upgrade/exec.c
contrib/pg_upgrade/exec.c
+4
-4
contrib/pg_upgrade/file.c
contrib/pg_upgrade/file.c
+3
-3
contrib/pg_upgrade/function.c
contrib/pg_upgrade/function.c
+1
-1
contrib/pg_upgrade/info.c
contrib/pg_upgrade/info.c
+2
-2
contrib/pg_upgrade/option.c
contrib/pg_upgrade/option.c
+1
-1
contrib/pg_upgrade/pg_upgrade.c
contrib/pg_upgrade/pg_upgrade.c
+8
-7
contrib/pg_upgrade/pg_upgrade.h
contrib/pg_upgrade/pg_upgrade.h
+15
-14
contrib/pg_upgrade/relfilenode.c
contrib/pg_upgrade/relfilenode.c
+7
-7
contrib/pg_upgrade/server.c
contrib/pg_upgrade/server.c
+4
-4
No files found.
contrib/pg_upgrade/check.c
View file @
07456b45
contrib/pg_upgrade/controldata.c
View file @
07456b45
...
@@ -549,9 +549,10 @@ putenv2(const char *var, const char *val)
...
@@ -549,9 +549,10 @@ putenv2(const char *var, const char *val)
sprintf
(
envstr
,
"%s=%s"
,
var
,
val
);
sprintf
(
envstr
,
"%s=%s"
,
var
,
val
);
putenv
(
envstr
);
putenv
(
envstr
);
/*
/*
*
Do not free envstr because it becomes part of the environment
*
Do not free envstr because it becomes part of the environment on
*
on some operating systems.
See port/unsetenv.c::unsetenv.
*
some operating systems.
See port/unsetenv.c::unsetenv.
*/
*/
#else
#else
SetEnvironmentVariableA
(
var
,
val
);
SetEnvironmentVariableA
(
var
,
val
);
...
...
contrib/pg_upgrade/dump.c
View file @
07456b45
contrib/pg_upgrade/exec.c
View file @
07456b45
contrib/pg_upgrade/file.c
View file @
07456b45
contrib/pg_upgrade/function.c
View file @
07456b45
contrib/pg_upgrade/info.c
View file @
07456b45
contrib/pg_upgrade/option.c
View file @
07456b45
contrib/pg_upgrade/pg_upgrade.c
View file @
07456b45
...
@@ -22,7 +22,8 @@ static void set_frozenxids(void);
...
@@ -22,7 +22,8 @@ static void set_frozenxids(void);
static
void
setup
(
char
*
argv0
,
bool
live_check
);
static
void
setup
(
char
*
argv0
,
bool
live_check
);
static
void
cleanup
(
void
);
static
void
cleanup
(
void
);
ClusterInfo
old_cluster
,
new_cluster
;
ClusterInfo
old_cluster
,
new_cluster
;
OSInfo
os_info
;
OSInfo
os_info
;
int
int
...
...
contrib/pg_upgrade/pg_upgrade.h
View file @
07456b45
...
@@ -242,7 +242,8 @@ typedef struct
...
@@ -242,7 +242,8 @@ typedef struct
*/
*/
extern
Log
log
;
extern
Log
log
;
extern
UserOpts
user_opts
;
extern
UserOpts
user_opts
;
extern
ClusterInfo
old_cluster
,
new_cluster
;
extern
ClusterInfo
old_cluster
,
new_cluster
;
extern
OSInfo
os_info
;
extern
OSInfo
os_info
;
extern
char
scandir_file_pattern
[];
extern
char
scandir_file_pattern
[];
...
...
contrib/pg_upgrade/relfilenode.c
View file @
07456b45
contrib/pg_upgrade/server.c
View file @
07456b45
...
@@ -175,8 +175,8 @@ start_postmaster(Cluster whichCluster, bool quiet)
...
@@ -175,8 +175,8 @@ start_postmaster(Cluster whichCluster, bool quiet)
/*
/*
* On Win32, we can't send both pg_upgrade output and pg_ctl output to the
* On Win32, we can't send both pg_upgrade output and pg_ctl output to the
* same file because we get the error: "The process cannot access the file
* same file because we get the error: "The process cannot access the file
* because it is being used by another process." so we have to send all
other
* because it is being used by another process." so we have to send all
* output to 'nul'.
* o
ther o
utput to 'nul'.
*/
*/
snprintf
(
cmd
,
sizeof
(
cmd
),
snprintf
(
cmd
,
sizeof
(
cmd
),
SYSTEMQUOTE
"
\"
%s/pg_ctl
\"
-l
\"
%s
\"
-D
\"
%s
\"
"
SYSTEMQUOTE
"
\"
%s/pg_ctl
\"
-l
\"
%s
\"
-D
\"
%s
\"
"
...
...
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