Re: [GENERAL] SQL solution for my JDBC timezone issue

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: [GENERAL] SQL solution for my JDBC timezone issue
Дата
Msg-id CADK3HHJ5UzECZHuTxOk-jT4G0Fuufrct5CV1Liv1ca052BHJ2g@mail.gmail.com
обсуждение исходный текст
Список pgsql-jdbc
For posterity please be aware this will very likely break any timestamps transfer using JDBC and binary transfer. 

This is not recommended for general consumption

Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca

On 23 February 2015 at 10:49, Tom Lane <tgl@sss.pgh.pa.us> wrote:
George Woodring <george.woodring@iglass.net> writes:
> Yes, that is where we think we are heading, the issue is that the code does
> not know what it needs to be set back to.  We have 90 databases with 5
> different time zones.  I was just hoping for a more elegant solution than
> writing a lookup table that says if you are connecting to db x then set to
> timezone y.

"RESET timezone" ?

                        regards, tom lane

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

Предыдущее
От:
Дата:
Сообщение: Re: setFetchSize with ResultSet.TYPE_SCROLL_INSENSITIVE
Следующее
От: Peter Eisentraut
Дата:
Сообщение: class file format issue