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
054219c9
Commit
054219c9
authored
Sep 29, 2011
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix pg_upgrade for EXEC_BACKEND builds (e.g. Windows) by properly
passing the -b/binary-upgrade flag. Backpatch to 9.1.X.
parent
cb37c291
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
src/backend/postmaster/postmaster.c
src/backend/postmaster/postmaster.c
+3
-0
No files found.
src/backend/postmaster/postmaster.c
View file @
054219c9
...
...
@@ -433,6 +433,7 @@ typedef struct
TimestampTz
PgStartTime
;
TimestampTz
PgReloadTime
;
bool
redirection_done
;
bool
IsBinaryUpgrade
;
#ifdef WIN32
HANDLE
PostmasterHandle
;
HANDLE
initial_signal_pipe
;
...
...
@@ -4653,6 +4654,7 @@ save_backend_variables(BackendParameters *param, Port *port,
param
->
PgReloadTime
=
PgReloadTime
;
param
->
redirection_done
=
redirection_done
;
param
->
IsBinaryUpgrade
=
IsBinaryUpgrade
;
#ifdef WIN32
param
->
PostmasterHandle
=
PostmasterHandle
;
...
...
@@ -4874,6 +4876,7 @@ restore_backend_variables(BackendParameters *param, Port *port)
PgReloadTime
=
param
->
PgReloadTime
;
redirection_done
=
param
->
redirection_done
;
IsBinaryUpgrade
=
param
->
IsBinaryUpgrade
;
#ifdef WIN32
PostmasterHandle
=
param
->
PostmasterHandle
;
...
...
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