X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C7EA93A3CA2 for ; Mon, 25 Oct 2004 10:36:35 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 12747-10 for ; Mon, 25 Oct 2004 09:36:28 +0000 (GMT) Received: from hqex2k.francoudi.com (hqex2k.francoudi.com [217.27.32.8]) by svr1.postgresql.org (Postfix) with ESMTP id 7BC7C3A3C22 for ; Mon, 25 Oct 2004 10:36:29 +0100 (BST) X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Re: Problems with protocol V3 after migration to latest driver Date: Mon, 25 Oct 2004 12:36:28 +0300 Message-ID: <8BCBF9DB739F034B87FE7C7D30EAE55C026AC205@hqex2k.francoudi.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [JDBC] Problems with protocol V3 after migration to latest driver Thread-Index: AcS6c7UGIKPSTd9VQO+l01NOPCNHTQAAR6xQ From: "Alexey Yudichev" To: "Oliver Jowett" , "Kris Jurka" Cc: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/259 X-Sequence-Number: 11364 >Also, any thoughts on making the LO vs. bytea behaviour a separate=20 >option, rather than lumping it in with 7.1 compatibility? It seems quite= =20 >possible that you might want to use LOs for get/setBytes() but use the=20 >most up to date driver behaviour elsewhere. Are there any other changes in driver behaviour triggered by compatibility= =3D7.1 other than LO-related ones? If yes, that would be a good idea to sep= arate them from LO changes, because LOs are the only reason I use compatibi= lity=3D7.1 parameter. -----Original Message----- From: Oliver Jowett [mailto:oliver@opencloud.com] Sent: Monday, October 25, 2004 12:16 PM To: Kris Jurka Cc: pgsql-jdbc@postgresql.org Subject: Re: [JDBC] Problems with protocol V3 after migration to latest dri= ver Kris Jurka wrote: > The first time through it does not fail because the driver=20 > needs to query the backend to get some setup information for large object= s=20 > which starts a transaction. Sounds like that is (another) bug .. it should be using the=20 QUERY_SUPPRESS_BEGIN flag for driver-generated queries to avoid starting=20 a transaction accidentally. I fixed that in various other places but=20 didn't think to check the LO code. Also, any thoughts on making the LO vs. bytea behaviour a separate=20 option, rather than lumping it in with 7.1 compatibility? It seems quite=20 possible that you might want to use LOs for get/setBytes() but use the=20 most up to date driver behaviour elsewhere. -O ---------------------------(end of broadcast)--------------------------- TIP 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to majordomo@postgresql.org so that your message can get through to the mailing list cleanly