Re: Upgrade question, going from 8.3 to 9.1...

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Upgrade question, going from 8.3 to 9.1...
Дата
Msg-id alpine.BSO.2.00.1202161602090.32496@leary.csoft.net
обсуждение исходный текст
Ответ на Re: Upgrade question, going from 8.3 to 9.1...  (Ned Wolpert <ned.wolpert@gmail.com>)
Ответы Re: Upgrade question, going from 8.3 to 9.1...
Список pgsql-jdbc

On Thu, 16 Feb 2012, Ned Wolpert wrote:

> So, the driver issue was only in dealing with UNICODE issues? Is it true
> that if we are always set with UNICODE client_encoding we should be fine?
> (Or, another way to put it, we have already tested connection from the
> existing java apps using the 8.3 driver to the new 9.1 database test
> instance, and they worked 'just fine' for initial queries... is that where
> this problem would manifest itself? Only in connecting?) Or was there
> something else I missed in that thread?

The end result of that thread was that the server folks ended up fixing
the server to allow older JDBC clients to connect, so that was only an
issue in the development version of the server for a short period of
time, never in a released version.

The big backwards compatibility change that occurred between 8.3 and 9.1
servers was the bytea escaping option.  If you want to use an older driver
you must set the bytea_output config option to escape on the server.

http://www.postgresql.org/docs/9.1/static/runtime-config-client.html#GUC-BYTEA-OUTPUT

Kris Jurka


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

Предыдущее
От: Dave Cramer
Дата:
Сообщение: Re: Upgrade question, going from 8.3 to 9.1...
Следующее
От: Ned Wolpert
Дата:
Сообщение: Re: Upgrade question, going from 8.3 to 9.1...