Re: Timestamp weirdness

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: Timestamp weirdness
Дата
Msg-id 42E58DF6.6040406@opencloud.com
обсуждение исходный текст
Ответ на Re: Timestamp weirdness  ("emergency.shower@gmail.com" <emergency.shower@gmail.com>)
Список pgsql-jdbc
emergency.shower@gmail.com wrote:

> If I TIMESTAMP WITH TIME ZONE is implemented on the server as a
> (timestamp, time zone)-pair

It's not, it's just a timestamp in UTC with no timezone stored.

> , the server should be able to cast
> TIMESTAMP WITH TIME ZONE correctly to TIMESTAMP WITHOUT TIME ZONE as
> described in the SQL standard:
>
> From TIMESTAMP WITH TIME ZONE to TIMESTAMP WITHOUT TIME ZONE
>  TargetValue = SourceValue.UTC + SourceValue.TimeZone

I'd like to see this too, but Tom doesn't like it for
backwards-compatibility reasons.

-O

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

Предыдущее
От: "emergency.shower@gmail.com"
Дата:
Сообщение: Re: Timestamp weirdness
Следующее
От: Oliver Jowett
Дата:
Сообщение: work in progress: timestamp patch