mirror of
https://github.com/postgres/postgres.git
synced 2025-10-18 04:29:09 +03:00
Post-feature-freeze pgindent run.
Discussion: https://postgr.es/m/15719.1523984266@sss.pgh.pa.us
This commit is contained in:
@@ -110,6 +110,7 @@ exec_prog(const char *log_file, const char *opt_log_file,
|
||||
pg_log(PG_VERBOSE, "%s\n", cmd);
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
/*
|
||||
* For some reason, Windows issues a file-in-use error if we write data to
|
||||
* the log file from a non-primary thread just before we create a
|
||||
@@ -191,6 +192,7 @@ exec_prog(const char *log_file, const char *opt_log_file,
|
||||
}
|
||||
|
||||
#ifndef WIN32
|
||||
|
||||
/*
|
||||
* We can't do this on Windows because it will keep the "pg_ctl start"
|
||||
* output filename open until the server stops, so we do the \n\n above on
|
||||
|
@@ -309,8 +309,8 @@ start_postmaster(ClusterInfo *cluster, bool report_and_exit_on_error)
|
||||
|
||||
/*
|
||||
* If pg_ctl failed, and the connection didn't fail, and
|
||||
* report_and_exit_on_error is enabled, fail now. This
|
||||
* could happen if the server was already running.
|
||||
* report_and_exit_on_error is enabled, fail now. This could happen if
|
||||
* the server was already running.
|
||||
*/
|
||||
if (!pg_ctl_return)
|
||||
{
|
||||
|
Reference in New Issue
Block a user