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

Commit365205d

Browse files
committed
Fix broken initdb -W option, per Michael Fuhr.
1 parent7762619 commit365205d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/initdb/initdb.c

Lines changed: 2 additions & 2 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.87 2005/06/2805:09:03 tgl Exp $
45+
* $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.88 2005/06/2815:38:12 tgl Exp $
4646
*
4747
*-------------------------------------------------------------------------
4848
*/
@@ -1440,7 +1440,7 @@ get_set_pwd(void)
14401440

14411441
check_ok();
14421442

1443-
snprintf(pwdpath,sizeof(pwdpath),"%s/global/pg_pwd",pg_data);
1443+
snprintf(pwdpath,sizeof(pwdpath),"%s/global/pg_auth",pg_data);
14441444
if (stat(pwdpath,&statbuf)!=0|| !S_ISREG(statbuf.st_mode))
14451445
{
14461446
fprintf(stderr,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp