Re: jdbc 8.n driver / pgcluster problem

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: jdbc 8.n driver / pgcluster problem
Дата
Msg-id Pine.BSO.4.63.0609202141190.21796@leary2.csoft.net
обсуждение исходный текст
Ответ на jdbc 8.n driver / pgcluster problem  (Christian Dannemann <Christian@merus.co.uk>)
Список pgsql-jdbc

On Wed, 20 Sep 2006, Christian Dannemann wrote:

> Apparently, pgcluster's replication only works when using jdbc driver < 8.0,
> so 7.4 works fine and all database changes submitted to one database are
> replicated across the cluster without any problem.
>

The 8.0 driver started making full use of the V3 query protocol and since
pgcluster uses query based replication I'd bet it doesn't correctly handle
queries submitted via the extended query protocol.  If this is true that's
a very serious flaw and affects all other clients (that use the extended
query protocol), not just a JDBC issue.  A workaround for the JDBC driver
might be adding ?protocolVersion=2 to your URL, but this revelation would
make me hesitate to use pgcluster at all.

Kris Jurka

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

Предыдущее
От: Christian Dannemann
Дата:
Сообщение: jdbc 8.n driver / pgcluster problem
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: jdbc 8.n driver / pgcluster problem