Committers,
I just installed PostgreSQL 8.0 beta 1 and found that initdb isn't
supporting the -s alias for the --show option as it claims to. The
trivial patch below fixes that and little misspellings in a comment.
Jon
--
Jon Jensen
End Point Corporation
http://www.endpoint.com/
Software development with Interchange, Perl, PostgreSQL, Apache, Linux, ...
--- postgresql-8.0.0beta1/src/bin/initdb/initdb.c 2004-08-01 06:19:23.000000000 +0000
+++ ../postgresql-8.0.0beta1/src/bin/initdb/initdb.c 2004-08-11 04:42:13.000000000 +0000
@@ -2049,7 +2049,7 @@
/* 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 @@
/*
* 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));