summaryrefslogtreecommitdiff
path: root/src/bin/initdb/initdb.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2007-02-16 02:10:07 +0000
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2007-02-16 02:10:07 +0000
commit68046a20c7e8a575c498648317217ad3b70be0da (patch)
treee4ffc338425496dfba44da51c31f947bb298df1d /src/bin/initdb/initdb.c
parent6bef118b01ec541440fccf8ce3641fd025297de0 (diff)
downloadpostgresql-68046a20c7e8a575c498648317217ad3b70be0da.tar.gz
Remove useless database name from bootstrap argument processing (including
startup and bgwriter processes), and the -y flag. It's not used anywhere.
Diffstat (limited to 'src/bin/initdb/initdb.c')
-rw-r--r--src/bin/initdb/initdb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c
index 5b559aecc9..3001e325b2 100644
--- a/src/bin/initdb/initdb.c
+++ b/src/bin/initdb/initdb.c
@@ -42,7 +42,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
* Portions taken from FreeBSD.
*
- * $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.132 2007/02/10 14:58:55 petere Exp $
+ * $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.133 2007/02/16 02:10:07 alvherre Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1186,7 +1186,7 @@ test_config_settings(void)
"-c max_connections=%d "
"-c shared_buffers=%d "
"-c max_fsm_pages=%d "
- "template1 < \"%s\" > \"%s\" 2>&1%s",
+ "< \"%s\" > \"%s\" 2>&1%s",
SYSTEMQUOTE, backend_exec, boot_options,
test_conns, test_buffs, test_max_fsm,
DEVNULL, DEVNULL, SYSTEMQUOTE);
@@ -1221,7 +1221,7 @@ test_config_settings(void)
"-c max_connections=%d "
"-c shared_buffers=%d "
"-c max_fsm_pages=%d "
- "template1 < \"%s\" > \"%s\" 2>&1%s",
+ "< \"%s\" > \"%s\" 2>&1%s",
SYSTEMQUOTE, backend_exec, boot_options,
n_connections, test_buffs, test_max_fsm,
DEVNULL, DEVNULL, SYSTEMQUOTE);
@@ -1455,7 +1455,7 @@ bootstrap_template1(char *short_version)
unsetenv("PGCLIENTENCODING");
snprintf(cmd, sizeof(cmd),
- "\"%s\" --boot -x1 %s %s template1",
+ "\"%s\" --boot -x1 %s %s",
backend_exec, boot_options, talkargs);
PG_CMD_OPEN;