1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

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

This commit is contained in:
Bruce Momjian
2012-05-25 09:09:51 -04:00
parent 31d965819b
commit 45ca31d6a7
2 changed files with 3 additions and 2 deletions

View File

@ -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,

View 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