1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-02 11:44:50 +03:00

pg_upgrade: simplify code layout in a few places

Backpatch-through: 9.4 (9.3 didn't need improving)
This commit is contained in:
Bruce Momjian 2018-01-05 14:11:15 -05:00
parent 9a5e4a6e08
commit 1d135657a3

View File

@ -73,7 +73,6 @@ 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
@ -155,7 +154,6 @@ 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