Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] Timezone problems / HAVE_INT_TIMEZINE

From: Dwayne Bailey <dwayne(at)mika(dot)com>
To: Maarten Boekhold <maartenb(at)dutepp2(dot)et(dot)tudelft(dot)nl>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Timezone problems / HAVE_INT_TIMEZINE
Date: 1998-03-19 15:27:39
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers

On Thu, 19 Mar 1998, Maarten Boekhold wrote:

> AFAIK tzset() is called automagically by all time-related libc routines 
> when they detect it is not set yet (at least I think with Linux it is 
> done this way. It's been a long time since I looked at that).

That would explain it then.  I was just accessing the variables
directly, without any intervening calls.

It's a moot point, anyway.  I put explicit calls in to the
startup, and it made no difference in the result.  It's likely to
be a 32/64 bit issue somewhere that I haven't located yet.  It
really shouldn't be that hard to track down.  Since the output is
different from the input by a consistance amount (19 years +- a
few days) it can only be in one of 4 places, AFAIK: parsing
input, storing value, retrieving value, or generating output.  My
bet is on the retrieve phase, but we'll see.

- --
Dwayne Bailey                   + WHAT is your name? Sir Galahad
MIKA Systems, Bingham Farms, MI + WHAT is your quest? I Seek the Holy Grail
dwayne(at)mika(dot)com                 + What is your favorite color?     +    Blue ... no, Yelloooooooooooooooooow
            finger dwayne(at)mika20(dot)mika(dot)com for PGP Public Key

Version: 2.6.2


In response to


pgsql-hackers by date

Next:From: Zeugswetter AndreasDate: 1998-03-19 15:42:15
Subject: AW: [HACKERS] Begin statement again
Previous:From: Maarten BoekholdDate: 1998-03-19 15:10:09
Subject: Re: [HACKERS] Timezone problems / HAVE_INT_TIMEZINE

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group