mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-26 02:27:19 +02:00
f4c4f1ce52
>> assuming this sideeffect is removed, though? > >I have no problem with the hashtable, only with preloading it with >everything. What I'd like to see is that the table inherited at fork() >contains just the data for the default timezone. (At least in the >normal case where that setting hasn't been changed since postmaster >start.) Here's a patch doing this. Changes score_timezone not to use pg_tzset(), and thus not loading all the zones in the cache. The actual timezone being picked will be set using set_global_timezone() which in turn calls pg_tzset() and loads it in the cache. Magnus Hagander |
||
---|---|---|
.. | ||
data | ||
ialloc.c | ||
localtime.c | ||
Makefile | ||
pgtz.c | ||
pgtz.h | ||
private.h | ||
README | ||
scheck.c | ||
strftime.c | ||
tzfile.h | ||
zic.c |
This is a PostgreSQL adapted version of the timezone library from: ftp://elsie.nci.nih.gov/pub/tzcode*.tar.gz The data files under data/ are an exact copy of the latest data set from ftp://elsie.nci.nih.gov/pub/tzdata*.tar.gz Since time zone rules change frequently in some parts of the world, we should endeavor to update the data files before each PostgreSQL release.