Re: Timestamp weirdness

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

> I assume that the behavior of the server when receiving a timestampz
> within the protocol couldn't be changed to match the handling of a
> literal without breaking significant existing code.

(One more time!)

The parsing of timestamptz is just fine, it's the cast to timestamp that
breaks things.

If we get the server to infer a type for the parameter rather than
explicitly specifying it as timestamptz, then we can avoid that cast.
Then things don't break.

-O

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

Предыдущее
От: Peter.Zoche@materna.de
Дата:
Сообщение: Re: SQLException and error code
Следующее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Timestamp weirdness