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:
@@ -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))
|
||||
{
|
||||
/*
|
||||
|
Reference in New Issue
Block a user