Re: 'NOW' in UTC with no timezone

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 'NOW' in UTC with no timezone
Дата
Msg-id 2223.1097592189@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 'NOW' in UTC with no timezone  (Greg Stark <gsstark@mit.edu>)
Ответы Re: 'NOW' in UTC with no timezone  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-general
Greg Stark <gsstark@mit.edu> writes:
> I guess my confusion comes from the way postgres interprets unadorned time
> stamps as being in local time. And then always displays timestamps converted
> to local time. I thought it was remembering the time zone specified in the
> original input. In fact it's not doing that.

Indeed not.  (I think that the SQL spec contemplates that TIMESTAMP WITH
TIME ZONE *should* work that way, but that's not what we've done.)

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Confused with LABEL and LOOP
Следующее
От: Jerry LeVan
Дата:
Сообщение: Message-ID as unique key?