pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Cc: pgsql-hackers@postgresql.org
Subject: Re: V3 protocol + DECLARE problems
Date: Wed, 21 Jul 2004 16:07:34 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0407211601060.9870@leary.csoft.net> (raw)
In-Reply-To: <40FD982D.2080006@opencloud.com>
References: <40FD982D.2080006@opencloud.com>



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



view thread (10+ messages)  latest in thread

Message-ID: <Pine.BSO.4.56.0407211601060.9870@leary.csoft.net>
Permalink:  ../Pine.BSO.4.56.0407211601060.9870@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.56.0407211601060.9870@leary.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, oliver@opencloud.com, pgsql-hackers@postgresql.org
  Subject: Re: V3 protocol + DECLARE problems
  In-Reply-To: <Pine.BSO.4.56.0407211601060.9870@leary.csoft.net>
  References: <40FD982D.2080006@opencloud.com> <Pine.BSO.4.56.0407211601060.9870@leary.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