| От | Oliver Jowett |
|---|---|
| Тема | Re: Timestamp Conversion Woes Redux |
| Дата | |
| Msg-id | 42DC37AC.5030704@opencloud.com обсуждение исходный текст |
| Ответ на | Re: Timestamp Conversion Woes Redux (Dave Cramer <pg@fastcrypt.com>) |
| Ответы |
Re: Timestamp Conversion Woes Redux
|
| Список | pgsql-jdbc |
Dave Cramer wrote: > You are correct, the driver is binding it to a timestamptz. The > underlying data is without > timezone so the server probably attempts to remove it > > I'm starting to think that binding the type to "unknown" might be > better as you suggested earlier. Yeah, given that we can't work out which of the two types is intended ahead of time, this might be the best idea.. Christian, you should be able to test this easily enough by modifying setTimestamp() to pass Oid.UNKNOWN instead of Oid.TIMESTAMPTZ to bindString(). -O
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера