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

Cleanup for canonicalization fixes, from Tom.

This commit is contained in:
Bruce Momjian
2004-07-11 23:49:51 +00:00
parent a1f3209c07
commit 421089dc35
3 changed files with 10 additions and 9 deletions

View File

@@ -37,7 +37,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.408 2004/07/11 21:33:59 momjian Exp $
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.409 2004/07/11 23:49:45 momjian Exp $
*
* NOTES
*
@@ -372,7 +372,6 @@ PostmasterMain(int argc, char *argv[])
InitializeGUCOptions();
userPGDATA = getenv("PGDATA"); /* default value */
canonicalize_path(userPGDATA);
opterr = 1;
@@ -526,6 +525,12 @@ PostmasterMain(int argc, char *argv[])
ExitPostmaster(1);
}
if (userPGDATA)
{
userPGDATA = strdup(userPGDATA);
canonicalize_path(userPGDATA);
}
if (onlyConfigSpecified(userPGDATA))
{
/*