pgsql/src include/utils/datetime.h backend/uti ...

Поиск
Список
Период
Сортировка
Искать

pgsql/src include/utils/datetime.h backend/uti ...

От:
Tom Lane <tgl@hub.org>
Дата:
CVSROOT:	/home/projects/pgsql/cvsroot
Module name:	pgsql
Changes by:	tgl@hub.org	01/05/03 18:53:07

Modified files:
	src/include/utils: datetime.h 
	src/backend/utils/adt: datetime.c formatting.c timestamp.c 

Log message:
	Consolidate several near-identical uses of mktime() into a single
	routine DetermineLocalTimeZone().  In that routine, be more wary of
	broken mktime() implementations than the original code was: don't allow
	mktime to change the already-set y/m/d/h/m/s information, and don't
	use tm_gmtoff if mktime failed.  Possibly this will resolve some of
	the complaints we've been hearing from users of Middle Eastern timezones
	on RedHat.

FAQ