Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 1d13565

Browse files
committed
pg_upgrade: simplify code layout in a few places
Backpatch-through: 9.4 (9.3 didn't need improving)
1 parent 9a5e4a6 commit 1d13565

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/bin/pg_upgrade/exec.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ exec_prog(const char *log_file, const char *opt_log_file,
7373
pg_log(PG_VERBOSE, "%s\n", cmd);
7474

7575
#ifdef WIN32
76-
7776
/*
7877
* For some reason, Windows issues a file-in-use error if we write data to
7978
* 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,
155154
}
156155

157156
#ifndef WIN32
158-
159157
/*
160158
* We can't do this on Windows because it will keep the "pg_ctl start"
161159
* output filename open until the server stops, so we do the \n\n above on

0 commit comments

Comments
 (0)