Re: Timezone database changes - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Timezone database changes
Date
Msg-id 11891.1192139575@sss.pgh.pa.us
Whole thread Raw
In response to Re: Timezone database changes  ("Trevor Talbot" <quension@gmail.com>)
Responses Re: Timezone database changes
List pgsql-hackers
"Trevor Talbot" <quension@gmail.com> writes:
> Neither is the birth certificate.  The recorded, legal time of the
> birth is the one that was written down.  If it doesn't happen to match
> an international notion of current time, that's unfortunate, but it's
> not subject to arbitrary changes later.  Even if it does match, it
> still belongs to a specific time zone.  That's the key semantic point:
> regurgitating that time as anything other than exactly what it was
> entered as is simply not correct.

I'm not convinced about that.  One consideration I think you are failing
to account for is that there is a big difference between past and future
times, at least in terms of what is likely to be the meaning of a
change.  The above reasoning might apply to a past time but I think it's
bogus for a future time.  If the TZ offset for a future time changes,
it's likely because of a DST law change, and we are in Peter's
what-time-is-the-appointment scenario.  A TZ offset for a past time
probably should not change, but if it does, it suggests a retroactive
data correction.  Surely you don't intend to prevent people from fixing
bad data?
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Release notes introductory text
Next
From: "Trevor Talbot"
Date:
Subject: Re: Timezone database changes