pg_upgrade_user_options-9.2.patch
application/octet-stream
Filename: pg_upgrade_user_options-9.2.patch
Type: application/octet-stream
Part: 0
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: format-patch
Subject: pg_upgrade: fix handling of -O/-o arguments, need space before user options
| File | + | − |
|---|---|---|
| contrib/pg_upgrade/server.c | 1 | 1 |
From b137edaed1ce16763644d0d6415ab702aef1946a Mon Sep 17 00:00:00 2001 From: Marti Raudsepp <marti@juffo.org> Date: Mon, 10 Dec 2012 23:52:24 +0200 Subject: [PATCH] pg_upgrade: fix handling of -O/-o arguments, need space before user options --- contrib/pg_upgrade/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/pg_upgrade/server.c b/contrib/pg_upgrade/server.c index 49d4c8f..0940e00 100644 --- a/contrib/pg_upgrade/server.c +++ b/contrib/pg_upgrade/server.c @@ -214,7 +214,7 @@ start_postmaster(ClusterInfo *cluster) * the new cluster has to be recreated anyway. */ 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" : -- 1.8.0.1