projects
/
users
/
c2main
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e48d77
)
Fix pg_upgrade -O/-o options
author
Bruce Momjian
<
[email protected]
>
Tue, 11 Dec 2012 04:03:17 +0000
(23:03 -0500)
committer
Bruce Momjian
<
[email protected]
>
Tue, 11 Dec 2012 04:03:25 +0000
(23:03 -0500)
Fix previous commit that added synchronous_commit=off, but broke -O/-o
due to missing space in argument passing.
Backpatch to 9.2.
contrib/pg_upgrade/server.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pg_upgrade/server.c
b/contrib/pg_upgrade/server.c
index db622496372c296e375f2154b126c99c1088b1ba..5fdaba658bd8958bdc7475ddd802c4851ccafa1e 100644
(file)
--- a/
contrib/pg_upgrade/server.c
+++ b/
contrib/pg_upgrade/server.c
@@
-215,7
+215,7
@@
start_postmaster(ClusterInfo *cluster)
* win on ext4.
*/
snprintf(cmd, sizeof(cmd),
- "\"%s/pg_ctl\" -w -l \"%s\" -D \"%s\" -o \"-p %d%s%s%s%s\" start",
+ "\"%s/pg_ctl\" -w -l \"%s\" -D \"%s\" -o \"-p %d%s%s
%s%s\" start",
cluster->bindir, SERVER_LOG_FILE, cluster->pgconfig, cluster->port,
(cluster->controldata.cat_ver >=
BINARY_UPGRADE_SERVER_FLAG_CAT_VER) ? " -b" :