Skip to content

Commit acdb8c2

Browse files
committed
Fix pg_upgrade -O/-o options
Fix previous commit that added synchronous_commit=off, but broke -O/-o due to missing space in argument passing. Backpatch to 9.2.
1 parent 8e48d77 commit acdb8c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/pg_upgrade/server.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ start_postmaster(ClusterInfo *cluster)
215215
* win on ext4.
216216
*/
217217
snprintf(cmd, sizeof(cmd),
218-
"\"%s/pg_ctl\" -w -l \"%s\" -D \"%s\" -o \"-p %d%s%s%s%s\" start",
218+
"\"%s/pg_ctl\" -w -l \"%s\" -D \"%s\" -o \"-p %d%s%s %s%s\" start",
219219
cluster->bindir, SERVER_LOG_FILE, cluster->pgconfig, cluster->port,
220220
(cluster->controldata.cat_ver >=
221221
BINARY_UPGRADE_SERVER_FLAG_CAT_VER) ? " -b" :

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