1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-24 01:29:19 +03:00

Update make_mkid

This commit is contained in:
Bruce Momjian
2000-10-11 17:55:34 +00:00
parent a37ab1d385
commit 5e38665f8a
3 changed files with 28 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
* Support for grand unified configuration scheme, including SET
* command, configuration file, and command line options.
*
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.12 2000/10/08 09:25:37 ishii Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.13 2000/10/11 17:55:32 momjian Exp $
*
* Copyright 2000 by PostgreSQL Global Development Group
* Written by Peter Eisentraut <peter_e@gmx.net>.
@@ -237,6 +237,8 @@ ConfigureNamesInt[] =
DEF_NBUFFERS, 16, INT_MAX},
{"port", PGC_POSTMASTER, &PostPortName,
DEF_PGPORT, 1, 65535},
{"unixsocket", PGC_POSTMASTER, &UnixSocketName,
DEF_PGSOCKETFILE, 1, 65535},
{"sort_mem", PGC_USERSET, &SortMem,
512, 1, INT_MAX},
@@ -372,7 +374,10 @@ ResetAllOptions(void)
}
if (getenv("PGPORT"))
PostPortName = atoi(getenv("PGPORT"));
PostPortNumber = atoi(getenv("PGPORT"));
if (UnixSocketName == NULL)
UnixSocketName = getenv("PGUNIXSOCKET");
}