Commit 45ca31d6 authored by Bruce Momjian's avatar Bruce Momjian

Have pg_upgrade only use one extra log file for Win32, not two.

parent 31d96581
......@@ -58,8 +58,8 @@ OSInfo os_info;
char *output_files[] = {
SERVER_LOG_FILE,
#ifdef WIN32
/* unique file for pg_ctl start */
SERVER_START_LOG_FILE,
SERVER_STOP_LOG_FILE,
#endif
RESTORE_LOG_FILE,
UTILITY_LOG_FILE,
......
......@@ -63,7 +63,8 @@ extern char *output_files[];
#define SERVER_STOP_LOG_FILE SERVER_LOG_FILE
#else
#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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment