Re: storing TZ along timestamps

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: storing TZ along timestamps
Дата
Msg-id 23272.1311089836@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: storing TZ along timestamps  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Ответы Re: storing TZ along timestamps
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Exclude core dumps from project - example patch
Следующее
От: Tom Lane
Дата:
Сообщение: Re: proposal: a validator for configuration files