diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2001-05-03 22:53:07 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2001-05-03 22:53:07 +0000 |
commit | f5ba72ea04e71a127031a4436781943008abfa7a (patch) | |
tree | 0da4f624a81d6f9d241a0e88fb4bc96fd9b46f2c /src/backend/access/gist/gist.c | |
parent | 0cec2bb0cd2ea1a19d2ad58107b04226de401d44 (diff) | |
download | postgresql-f5ba72ea04e71a127031a4436781943008abfa7a.tar.gz postgresql-f5ba72ea04e71a127031a4436781943008abfa7a.zip |
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.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions