aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-08-11 23:28:54 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-08-11 23:28:54 +0000
commit250e51605109536a1346785b535612c6baea796a (patch)
treeffed34c9b1c5c0569d1b7dd1fb9ec1b6c964de14 /src
parent3de91c18b51f0f983974dd0c369b424f9db03e84 (diff)
downloadpostgresql-250e51605109536a1346785b535612c6baea796a.tar.gz
postgresql-250e51605109536a1346785b535612c6baea796a.zip
Cause initdb to actually accept -s as intended, and fix some typos in
a comment. Jon Jensen
Diffstat (limited to 'src')
-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 e61895c5365..0b4ccbc229e 100644
--- a/src/bin/initdb/initdb.c
+++ b/src/bin/initdb/initdb.c
@@ -39,7 +39,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
* Portions taken from FreeBSD.
*
- * $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.48 2004/08/11 11:06:23 petere Exp $
+ * $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.49 2004/08/11 23:28:54 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -2049,7 +2049,7 @@ main(int argc, char *argv[])
/* process command-line options */
- while ((c = getopt_long(argc, argv, "dD:E:L:nU:WA:", long_options, &option_index)) != -1)
+ while ((c = getopt_long(argc, argv, "dD:E:L:nU:WA:s", long_options, &option_index)) != -1)
{
switch (c)
{
@@ -2198,8 +2198,8 @@ main(int argc, char *argv[])
/*
* we have to set PGDATA for postgres rather than pass it on the
- * commnd line to avoid dumb quoting problems on Windows, and we would
- * expecially need quotes otherwise on Windows because paths there are
+ * command line to avoid dumb quoting problems on Windows, and we would
+ * especially need quotes otherwise on Windows because paths there are
* most likely to have embedded spaces.
*/
pgdenv = xmalloc(8 + strlen(pg_data));