aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_ctl/pg_ctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/pg_ctl/pg_ctl.c b/src/bin/pg_ctl/pg_ctl.c
index 23b7df59de2..421b13655be 100644
--- a/src/bin/pg_ctl/pg_ctl.c
+++ b/src/bin/pg_ctl/pg_ctl.c
@@ -4,7 +4,7 @@
*
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
*
- * $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.7 2004/06/04 04:05:36 momjian Exp $
+ * $PostgreSQL: pgsql/src/bin/pg_ctl/pg_ctl.c,v 1.8 2004/06/09 17:36:07 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -224,10 +224,10 @@ start_postmaster(void)
/* Does '&' work on Win32? */
if (log_file != NULL)
- snprintf(cmd, MAXPGPATH, "\"%s\" %s < %s >>\"%s\" 2>&1 &",
+ snprintf(cmd, MAXPGPATH, "'%s' %s < %s >> '%s' 2>&1 &",
postgres_path, post_opts, DEVNULL, log_file);
else
- snprintf(cmd, MAXPGPATH, "\"%s\" %s < %s 2>&1 &",
+ snprintf(cmd, MAXPGPATH, "'%s' %s < %s 2>&1 &",
postgres_path, post_opts, DEVNULL);
return system(cmd);
}