Re: timestamp with time zone a la sql99

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: timestamp with time zone a la sql99
Дата
Msg-id 6540.1098454398@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: timestamp with time zone a la sql99  (Robert Treat <xzilla@users.sourceforge.net>)
Ответы Re: timestamp with time zone a la sql99  (Dennis Bjorklund <db@zigo.dhs.org>)
Список pgsql-hackers
Robert Treat <xzilla@users.sourceforge.net> writes:
> In a fit of early morning, pre-coffee thoughts, I'm thinking this might be 
> just what I've been looking for. In one of my apps we take calls from around 
> the country for customers and store the time that call came in. Unfortunately
> we need to know things like how many calls did we take in an hour across 
> customers, but also how many calls did we take at 6AM local time to the 
> customer.   The way PostgreSQL works now, you have to store some extra bits 
> of info in another column and then reassemble it to be able to determine 
> those two queries, but it sounds like your timestampstdtz would allow that 
> information to be stored together, as it should be.

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.
        regards, tom lane


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

Предыдущее
От: Dennis Bjorklund
Дата:
Сообщение: SET SESSION SESSION AUTHORIZATION
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SET SESSION SESSION AUTHORIZATION