pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Christian Dannemann <Christian@merus.co.uk>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: jdbc 8.n driver / pgcluster problem
Date: Wed, 20 Sep 2006 21:45:32 -0500 (EST)
Message-ID: <Pine.BSO.4.63.0609202141190.21796@leary2.csoft.net> (raw)
In-Reply-To: <4511618F.9050209@merus.co.uk>
References: <4511618F.9050209@merus.co.uk>



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



view thread (3+ messages)  latest in thread

Message-ID: <Pine.BSO.4.63.0609202141190.21796@leary2.csoft.net>
Permalink:  ../Pine.BSO.4.63.0609202141190.21796@leary2.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.63.0609202141190.21796@leary2.csoft.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: books@ejurka.com, Christian@merus.co.uk
  Subject: Re: jdbc 8.n driver / pgcluster problem
  In-Reply-To: <Pine.BSO.4.63.0609202141190.21796@leary2.csoft.net>
  References: <4511618F.9050209@merus.co.uk> <Pine.BSO.4.63.0609202141190.21796@leary2.csoft.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox