postgres.git / summary / log / commit / refs

commit    9162560bc3ac36b515e222f35db1efbb9ccfab83
Author:   Bruce Momjian <bruce@momjian.us>
Date:     Fri Jan 05 19:11:14 2018 +0000
First released in: 11.0, 9.4.16, 9.5.11, 9.6.7, 10.2
Reverted by: 5f45c72e3eea (in 10.2), 3e6f01fd7d9b (in 11.0)

    pg_upgrade:  simplify code layout in a few places
    
    Backpatch-through: 9.4 (9.3 didn't need improving)


contrib/pg_upgrade/exec.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/contrib/pg_upgrade/exec.c b/contrib/pg_upgrade/exec.c index b38d801b5c1..3053c740329 100644 --- a/contrib/pg_upgrade/exec.c +++ b/contrib/pg_upgrade/exec.c @@ -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 [parent: f68c49f86aea]