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
45ca31d6
Commit
45ca31d6
authored
May 25, 2012
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Have pg_upgrade only use one extra log file for Win32, not two.
parent
31d96581
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
contrib/pg_upgrade/pg_upgrade.c
contrib/pg_upgrade/pg_upgrade.c
+1
-1
contrib/pg_upgrade/pg_upgrade.h
contrib/pg_upgrade/pg_upgrade.h
+2
-1
No files found.
contrib/pg_upgrade/pg_upgrade.c
View file @
45ca31d6
...
@@ -58,8 +58,8 @@ OSInfo os_info;
...
@@ -58,8 +58,8 @@ OSInfo os_info;
char
*
output_files
[]
=
{
char
*
output_files
[]
=
{
SERVER_LOG_FILE
,
SERVER_LOG_FILE
,
#ifdef WIN32
#ifdef WIN32
/* unique file for pg_ctl start */
SERVER_START_LOG_FILE
,
SERVER_START_LOG_FILE
,
SERVER_STOP_LOG_FILE
,
#endif
#endif
RESTORE_LOG_FILE
,
RESTORE_LOG_FILE
,
UTILITY_LOG_FILE
,
UTILITY_LOG_FILE
,
...
...
contrib/pg_upgrade/pg_upgrade.h
View file @
45ca31d6
...
@@ -63,7 +63,8 @@ extern char *output_files[];
...
@@ -63,7 +63,8 @@ extern char *output_files[];
#define SERVER_STOP_LOG_FILE SERVER_LOG_FILE
#define SERVER_STOP_LOG_FILE SERVER_LOG_FILE
#else
#else
#define SERVER_START_LOG_FILE "pg_upgrade_server_start.log"
#define SERVER_START_LOG_FILE "pg_upgrade_server_start.log"
#define SERVER_STOP_LOG_FILE "pg_upgrade_server_stop.log"
/* pg_ctl stop doesn't keep the log file open, so reuse UTILITY_LOG_FILE */
#define SERVER_STOP_LOG_FILE UTILITY_LOG_FILE
#endif
#endif
...
...
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