summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2018-01-05 14:11:14 -0500
committerBruce Momjian <bruce@momjian.us>2018-01-05 14:11:14 -0500
commit9162560bc3ac36b515e222f35db1efbb9ccfab83 (patch)
treef8f968e40594fee96c3910e6e04d96136059d26a
parentf68c49f86aea271a083f26147a8648ac74ed2e76 (diff)
downloadpostgresql-9162560bc3ac36b515e222f35db1efbb9ccfab83.tar.gz
pg_upgrade: simplify code layout in a few places
Backpatch-through: 9.4 (9.3 didn't need improving)
-rw-r--r--contrib/pg_upgrade/exec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/contrib/pg_upgrade/exec.c b/contrib/pg_upgrade/exec.c
index b38d801b5c..3053c74032 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