Re: timestamp with time zone a la sql99

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: timestamp with time zone a la sql99
Дата
Msg-id 20041022145644.GA17238@wolff.to
обсуждение исходный текст
Ответ на Re: timestamp with time zone a la sql99  (Dennis Bjorklund <db@zigo.dhs.org>)
Список pgsql-hackers
On Fri, Oct 22, 2004 at 16:28:12 +0200, Dennis Bjorklund <db@zigo.dhs.org> wrote:
> On Fri, 22 Oct 2004, Tom Lane wrote:
> 
> > As far as I can tell, Dennis is planning slavish adherence to the spec,
> > which will mean that the datatype is unable to cope effectively with
> > daylight-savings issues.  So I'm unconvinced that it will be very
> > helpful to you for remembering local time in addition to true
> > (universal) time.
> 
> And exactly what issues is it that you see? The only thing I can think of
> is if you have a timestamp and then add an interval to it so we jump past
> the daylight saving time change date. Then the new timestamp will keep the
> old timezone data of say +01 even though we now have jumped into the
> daylight saving period of +02.

I think for just storing values you are fine. When it comes to adding or
subtracting intervals you might get some unexpected results.


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Dennis Bjorklund
Дата:
Сообщение: Re: SET SESSION SESSION AUTHORIZATION
Следующее
От: Tom Lane
Дата:
Сообщение: Re: timestamp with time zone a la sql99