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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy