summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian2018-01-05 19:11:14 +0000
committerBruce Momjian2018-01-05 19:11:14 +0000
commit6c31ac1dd3a376fc8e49092e6036c0b1aa60c2ba (patch)
treedda84b96df3849cda4aecb001752186b3ae43445 /src
parent132cd58d6dc5c2ea4a64f8cadd05e922f6342bfa (diff)
pg_upgrade: simplify code layout in a few places
Backpatch-through: 9.4 (9.3 didn't need improving)
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_upgrade/exec.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/bin/pg_upgrade/exec.c b/src/bin/pg_upgrade/exec.c
index 92c3766d16a..46ce1b9d30e 100644
--- a/src/bin/pg_upgrade/exec.c
+++ b/src/bin/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