mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Integrate src/timezone library for all platforms. There is more we can
and should do now that we control our own destiny for timezone handling, but this commit gets the bulk of the picayune diffs in place. Magnus Hagander and Tom Lane.
This commit is contained in:
@ -10,7 +10,7 @@
|
||||
* Written by Peter Eisentraut <peter_e@gmx.net>.
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.205 2004/05/08 02:11:46 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.206 2004/05/21 05:08:03 tgl Exp $
|
||||
*
|
||||
*--------------------------------------------------------------------
|
||||
*/
|
||||
@ -2094,10 +2094,6 @@ InitializeGUCOptions(void)
|
||||
if (env != NULL)
|
||||
SetConfigOption("datestyle", env, PGC_POSTMASTER, PGC_S_ENV_VAR);
|
||||
|
||||
env = getenv("TZ");
|
||||
if (env != NULL)
|
||||
SetConfigOption("timezone", env, PGC_POSTMASTER, PGC_S_ENV_VAR);
|
||||
|
||||
env = getenv("PGCLIENTENCODING");
|
||||
if (env != NULL)
|
||||
SetConfigOption("client_encoding", env, PGC_POSTMASTER, PGC_S_ENV_VAR);
|
||||
|
Reference in New Issue
Block a user