1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-28 18:48:04 +03:00

Put back canonicalization of PGDATA environment variable.

This commit is contained in:
Bruce Momjian
2004-07-12 19:15:14 +00:00
parent 76e7e2e776
commit a4c71af2c0
3 changed files with 28 additions and 12 deletions

View File

@@ -37,7 +37,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.410 2004/07/12 18:17:13 momjian Exp $
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.411 2004/07/12 19:14:56 momjian Exp $
*
* NOTES
*
@@ -526,7 +526,10 @@ PostmasterMain(int argc, char *argv[])
}
if (userPGDATA)
canonicalize_path(userPGDATA = strdup(userPGDATA));
{
userPGDATA = strdup(userPGDATA);
canonicalize_path(userPGDATA);
}
if (onlyConfigSpecified(userPGDATA))
{