Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit250e516

Browse files
committed
Cause initdb to actually accept -s as intended, and fix some typos in
a comment.Jon Jensen
1 parent3de91c1 commit250e516

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎src/bin/initdb/initdb.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* Portions Copyright (c) 1994, Regents of the University of California
4040
* Portions taken from FreeBSD.
4141
*
42-
* $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.48 2004/08/1111:06:23 petere Exp $
42+
* $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.49 2004/08/1123:28:54 tgl Exp $
4343
*
4444
*-------------------------------------------------------------------------
4545
*/
@@ -2049,7 +2049,7 @@ main(int argc, char *argv[])
20492049

20502050
/* process command-line options */
20512051

2052-
while ((c=getopt_long(argc,argv,"dD:E:L:nU:WA:",long_options,&option_index))!=-1)
2052+
while ((c=getopt_long(argc,argv,"dD:E:L:nU:WA:s",long_options,&option_index))!=-1)
20532053
{
20542054
switch (c)
20552055
{
@@ -2198,8 +2198,8 @@ main(int argc, char *argv[])
21982198

21992199
/*
22002200
* we have to set PGDATA for postgres rather than pass it on the
2201-
*commnd line to avoid dumb quoting problems on Windows, and we would
2202-
*expecially need quotes otherwise on Windows because paths there are
2201+
*command line to avoid dumb quoting problems on Windows, and we would
2202+
*especially need quotes otherwise on Windows because paths there are
22032203
* most likely to have embedded spaces.
22042204
*/
22052205
pgdenv=xmalloc(8+strlen(pg_data));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp