X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id A98C79FB2D6 for ; Wed, 20 Sep 2006 23:45:46 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 03763-09 for ; Thu, 21 Sep 2006 02:45:36 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by postgresql.org (Postfix) with SMTP id EAABA9FB2DA for ; Wed, 20 Sep 2006 23:45:35 -0300 (ADT) Received: (qmail 3103 invoked by uid 1112); 21 Sep 2006 02:45:32 -0000 Date: Wed, 20 Sep 2006 21:45:32 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary2.csoft.net To: Christian Dannemann cc: pgsql-jdbc@postgresql.org Subject: Re: jdbc 8.n driver / pgcluster problem In-Reply-To: <4511618F.9050209@merus.co.uk> Message-ID: References: <4511618F.9050209@merus.co.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200609/75 X-Sequence-Number: 15793 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