1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-12 05:01:15 +03:00

Remove PGDATA setting and use DataDir.

This commit is contained in:
Bruce Momjian
1997-12-11 17:03:52 +00:00
parent b69359e2d7
commit 645cc13276
2 changed files with 3 additions and 15 deletions

View File

@@ -10,7 +10,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.65 1997/12/09 03:11:08 scrappy Exp $
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.66 1997/12/11 17:03:52 momjian Exp $
*
* NOTES
*
@@ -333,11 +333,6 @@ PostmasterMain(int argc, char *argv[])
case 'D':
/* Set PGDATA from the command line. */
DataDir = optarg;
{
char envEntry[2 * ARGV_SIZE];
sprintf(envEntry, "PGDATA=%s", DataDir);
putenv(envEntry);
}
break;
case 'd':