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 4C239D1B298 for ; Wed, 21 Jul 2004 18:07:45 -0300 (ADT) 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 56273-09 for ; Wed, 21 Jul 2004 21:07:41 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id EDBA0D1B1F8 for ; Wed, 21 Jul 2004 18:07:34 -0300 (ADT) Received: (qmail 25143 invoked by uid 1112); 21 Jul 2004 21:07:34 -0000 Date: Wed, 21 Jul 2004 16:07:34 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Oliver Jowett Cc: "pgsql-jdbc@postgresql.org" , pgsql-hackers@postgresql.org Subject: Re: V3 protocol + DECLARE problems In-Reply-To: <40FD982D.2080006@opencloud.com> Message-ID: References: <40FD982D.2080006@opencloud.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: 200407/253 X-Sequence-Number: 10637 On Wed, 21 Jul 2004, Oliver Jowett wrote: > It's going to be fun using anything more than very basic cursors via the > V3 protocol in the JDBC driver. DECLARE does not work with parameters > passed via a Parse/Bind combination -- which is how we currently always > pass parameters when talking V3. I'm reluctant to have two > implementations of the parameter logic for V3 (one that does direct > substitution, one that uses Bind) since that's extra unnecessary code > and a recipe for inconsistent behaviour. I see where you are going in the WITH HOLD case, I don't see how this extends to scrollable cursors without other major changes as the Execute protocol message assumes forward only operation. Kris Jurka