diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-06-28 15:38:12 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-06-28 15:38:12 +0000 |
commit | 365205dd2a5263e9c78bb55b0ff58b55f8649f98 (patch) | |
tree | b136bc3533dc94074be8d914e138f02b2c462abb /src | |
parent | 7762619e95272974f90a38d8d85aafbe0e94add5 (diff) | |
download | postgresql-365205dd2a5263e9c78bb55b0ff58b55f8649f98.tar.gz postgresql-365205dd2a5263e9c78bb55b0ff58b55f8649f98.zip |
Fix broken initdb -W option, per Michael Fuhr.
Diffstat (limited to 'src')
-rw-r--r-- | src/bin/initdb/initdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/initdb/initdb.c b/src/bin/initdb/initdb.c index 58fb04860ae..daafc964767 100644 --- a/src/bin/initdb/initdb.c +++ b/src/bin/initdb/initdb.c @@ -42,7 +42,7 @@ * Portions Copyright (c) 1994, Regents of the University of California * Portions taken from FreeBSD. * - * $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.87 2005/06/28 05:09:03 tgl Exp $ + * $PostgreSQL: pgsql/src/bin/initdb/initdb.c,v 1.88 2005/06/28 15:38:12 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -1440,7 +1440,7 @@ get_set_pwd(void) check_ok(); - snprintf(pwdpath, sizeof(pwdpath), "%s/global/pg_pwd", pg_data); + snprintf(pwdpath, sizeof(pwdpath), "%s/global/pg_auth", pg_data); if (stat(pwdpath, &statbuf) != 0 || !S_ISREG(statbuf.st_mode)) { fprintf(stderr, |