We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31d9658 commit 45ca31dCopy full SHA for 45ca31d
contrib/pg_upgrade/pg_upgrade.c
@@ -58,8 +58,8 @@ OSInfo os_info;
58
char *output_files[] = {
59
SERVER_LOG_FILE,
60
#ifdef WIN32
61
+ /* unique file for pg_ctl start */
62
SERVER_START_LOG_FILE,
- SERVER_STOP_LOG_FILE,
63
#endif
64
RESTORE_LOG_FILE,
65
UTILITY_LOG_FILE,
contrib/pg_upgrade/pg_upgrade.h
@@ -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"
66
-#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 */
67
+#define SERVER_STOP_LOG_FILE UTILITY_LOG_FILE
68
69
70
0 commit comments