Re: [JDBC] V3 protocol + DECLARE problems - Mailing list pgsql-hackers

From Kris Jurka
Subject Re: [JDBC] V3 protocol + DECLARE problems
Date
Msg-id Pine.BSO.4.56.0407211601060.9870@leary.csoft.net
Whole thread Raw
In response to V3 protocol + DECLARE problems  (Oliver Jowett <oliver@opencloud.com>)
List pgsql-hackers

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

pgsql-hackers by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: parameter hints to the optimizer
Next
From: Tom Lane
Date:
Subject: Re: Why we really need timelines *now* in PITR