Re: storing TZ along timestamps - Mailing list pgsql-hackers

From Tom Lane
Subject Re: storing TZ along timestamps
Date
Msg-id 23272.1311089836@sss.pgh.pa.us
Whole thread Raw
In response to Re: storing TZ along timestamps  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: storing TZ along timestamps
List pgsql-hackers
"Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
> Josh Berkus <josh@agliodbs.com> wrote:
>> The timestamp and the timezone in which that timestamp was entered
>> are two separate pieces of data and *ought* to be in two separate
>> fields.
> So, if you're grabbing a timestamp and the time zone for it, how do
> you ensure you've done that atomically if you're at the boundary of
> a DST change?

In my view of the world, the timezone that you are in is not an object
that changes across a DST boundary.  So the above is a red herring.
It is only a problem if you insist on a broken concept of what a
timezone is.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Exclude core dumps from project - example patch
Next
From: Tom Lane
Date:
Subject: Re: proposal: a validator for configuration files