@@ -165,17 +165,17 @@ start_postmaster(ClusterInfo *cluster)
165165 (cluster -> controldata .cat_ver >=
166166BINARY_UPGRADE_SERVER_FLAG_CAT_VER ) ?"-b" :
167167"-c autovacuum=off -c autovacuum_freeze_max_age=2000000000" ,
168- cluster -> pgopts ?cluster -> pgopts :"" ,SERVER_LOG_FILE2 );
168+ cluster -> pgopts ?cluster -> pgopts :"" ,SERVER_START_LOG_FILE );
169169
170170/*
171171 * Don't throw an error right away, let connecting throw the error because
172172 * it might supply a reason for the failure.
173173 */
174174pg_ctl_return = exec_prog (false, true,
175175/* pass both file names if the differ */
176- (strcmp (SERVER_LOG_FILE ,SERVER_LOG_FILE2 )== 0 ) ?
176+ (strcmp (SERVER_LOG_FILE ,SERVER_START_LOG_FILE )== 0 ) ?
177177SERVER_LOG_FILE :
178- SERVER_LOG_FILE " or " SERVER_LOG_FILE2 ,
178+ SERVER_LOG_FILE " or " SERVER_START_LOG_FILE ,
179179"%s" ,cmd );
180180
181181/* Check to see if we can connect to the server; if not, report it. */
@@ -214,13 +214,13 @@ stop_postmaster(bool fast)
214214return ;/* no cluster running */
215215
216216snprintf (cmd ,sizeof (cmd ),
217- SYSTEMQUOTE "\"%s/pg_ctl\" -w -l \"%s\" - D \"%s\" -o \"%s\" "
217+ SYSTEMQUOTE "\"%s/pg_ctl\" -w -D \"%s\" -o \"%s\" "
218218"%s stop >> \"%s\" 2>&1" SYSTEMQUOTE ,
219- cluster -> bindir ,SERVER_LOG_FILE2 , cluster -> pgconfig ,
219+ cluster -> bindir ,cluster -> pgconfig ,
220220cluster -> pgopts ?cluster -> pgopts :"" ,
221- fast ?"-m fast" :"" ,SERVER_LOG_FILE2 );
221+ fast ?"-m fast" :"" ,SERVER_STOP_LOG_FILE );
222222
223- exec_prog (fast ? false : true, true,SERVER_LOG_FILE2 ,"%s" ,cmd );
223+ exec_prog (fast ? false : true, true,SERVER_STOP_LOG_FILE ,"%s" ,cmd );
224224
225225os_info .running_cluster = NULL ;
226226}