Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 75e90bb

Browse files
committed
Fix initdb quoting for Win32 paths in final examples, per Dave Page.
1 parent 3b85fc3 commit 75e90bb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/bin/initdb/initdb.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
* Portions Copyright (c) 1994, Regents of the University of California
4343
* Portions taken from FreeBSD.
4444
*
45-
* $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.97 2005/08/27 18:44:03 tgl Exp $
45+
* $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.98 2005/08/28 22:21:46 momjian Exp $
4646
*
4747
*-------------------------------------------------------------------------
4848
*/
@@ -2706,12 +2706,12 @@ main(int argc, char *argv[])
27062706
get_parent_directory(bin_dir);
27072707

27082708
printf(_("\nSuccess. You can now start the database server using:\n\n"
2709-
" %s%s%s%spostmaster -D %s%s%s\n"
2709+
" %s%s%spostmaster%s -D %s%s%s\n"
27102710
"or\n"
2711-
" %s%s%s%spg_ctl -D %s%s%s -l logfile start\n\n"),
2712-
QUOTE_PATH, bin_dir, QUOTE_PATH, (strlen(bin_dir) > 0) ? DIR_SEP : "",
2711+
" %s%s%spg_ctl%s -D %s%s%s -l logfile start\n\n"),
2712+
QUOTE_PATH, bin_dir, (strlen(bin_dir) > 0) ? DIR_SEP : "", QUOTE_PATH,
27132713
QUOTE_PATH, pg_data_native, QUOTE_PATH,
2714-
QUOTE_PATH, bin_dir, QUOTE_PATH, (strlen(bin_dir) > 0) ? DIR_SEP : "",
2714+
QUOTE_PATH, bin_dir, (strlen(bin_dir) > 0) ? DIR_SEP : "", QUOTE_PATH,
27152715
QUOTE_PATH, pg_data_native, QUOTE_PATH);
27162716

27172717
return 0;

0 commit comments

Comments
 (0)