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

From: Tom Lane <tgl(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src include/utils/datetime.h backend/uti ...
Date: 2001-05-03 22:53:07
Message-ID: 200105032253.f43Mr7q60430@hub.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /home/projects/pgsql/cvsroot
Module name: pgsql
Changes by: tgl(at)hub(dot)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.

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian - CVS 2001-05-04 02:54:34 pgsql/doc/src/sgml runtime.sgml
Previous Message Bruce Momjian - CVS 2001-05-03 21:38:45 pgsql/ oc/src/sgml/charset.sgml rc/backend/uti ...