Re: Timestamp Conversion Woes Redux

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: Timestamp Conversion Woes Redux
Дата
Msg-id 42DDB0B0.1020006@opencloud.com
обсуждение исходный текст
Ответ на Re: Timestamp Conversion Woes Redux  (Dave Cramer <pg@fastcrypt.com>)
Ответы Re: Timestamp Conversion Woes Redux
Список pgsql-jdbc
Dave Cramer wrote:
> Christian suggested this:
>
> However I think this too opaque.

Why do you think this? There's no timezone information associated with a
Timestamp, so it seems like the logical mapping: if you provide a
timezone via Calendar, it's a timestamp-with-timezone; otherwise, it's a
timestamp-without-timezone.

> Not to mention the fact that it changes the
> current behaviour.

Err, given that the current behaviour is broken, is this a problem?

Every time I've looked at the timestamp code I've gone "ow, that has to
be broken" but never got around to investigating further .. IMO, this is
an area that the driver just gets *wrong* and we should be fixing it so
it works, not trying to support applications that expect the wrong
behaviour!

-O

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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: Timestamp Conversion Woes Redux
Следующее
От: Dave Cramer
Дата:
Сообщение: Re: Timestamp Conversion Woes Redux