Skip to content

Commit 9162560

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

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

contrib/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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy