postgresql/src/timezone
Tom Lane e92a88272e Modify hash_search() API to prevent future occurrences of the error
spotted by Qingqing Zhou.  The HASH_ENTER action now automatically
fails with elog(ERROR) on out-of-memory --- which incidentally lets
us eliminate duplicate error checks in quite a bunch of places.  If
you really need the old return-NULL-on-out-of-memory behavior, you
can ask for HASH_ENTER_NULL.  But there is now an Assert in that path
checking that you aren't hoping to get that behavior in a palloc-based
hash table.
Along the way, remove the old HASH_FIND_SAVE/HASH_REMOVE_SAVED actions,
which were not being used anywhere anymore, and were surely too ugly
and unsafe to want to see revived again.
2005-05-29 04:23:07 +00:00
..
data Sync timezone data with latest zic database (dated Oct 11 2004). 2004-10-24 15:09:57 +00:00
ialloc.c
localtime.c Attached patch gets rid of the global timezone in the following steps: 2005-04-19 03:13:59 +00:00
Makefile make clean must remove zic$(X) for Windows, per Magnus. 2004-12-31 19:01:54 +00:00
pgtz.c Modify hash_search() API to prevent future occurrences of the error 2005-05-29 04:23:07 +00:00
pgtz.h Attached patch gets rid of the global timezone in the following steps: 2005-04-19 03:13:59 +00:00
private.h Properly undef _(x) gettext macro. 2005-02-23 04:34:21 +00:00
README Update RELEASE_CHANGES to mention updating the timezone database as 2004-10-24 15:01:54 +00:00
scheck.c
strftime.c Attached patch gets rid of the global timezone in the following steps: 2005-04-19 03:13:59 +00:00
tzfile.h
zic.c Attached patch gets rid of the global timezone in the following steps: 2005-04-19 03:13:59 +00:00

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.