pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <pg@fastcrypt.com>
To: Altaf Malik <mmalik_altaf@yahoo.com>
Cc: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Refcursor bug
Date: Fri, 27 Apr 2007 14:50:21 -0400
Message-ID: <A336CD7F-D7EB-47FB-9CC3-6D2FF5AD4136@fastcrypt.com> (raw)
In-Reply-To: <704996.38286.qm@web39113.mail.mud.yahoo.com>
References: <704996.38286.qm@web39113.mail.mud.yahoo.com>


On 27-Apr-07, at 1:56 PM, Altaf Malik wrote:

> Yes it is useless but at least we cannot prevent the user from  
> doing it. Does it mean we should throw exception and not allow user  
> to get even the first resultset? Because exception comes internally  
> when processing the resultset.

There's many things the user can do that don't work. Is this for some  
other product ?

Dave
>
> --Altaf
>
> Kris Jurka <books@ejurka.com> wrote:
>
>
> On Fri, 27 Apr 2007, Altaf Malik wrote:
>
> > Hi, I encountered a bug with refcursors with the latest JDBC  
> driver. I
> > cannot get two refcursors as OUT parameter if both of them point  
> to the
> > same underlying refcursor.
> >
>
> Is this an actual problem or just something you came up with to  
> make it
> fail? I don't see the use case here because the previous driver  
> version
> would return the full ResultSet and then an empty one because  
> everything
> had been fetched from it. So that would be pretty useless.
>
> Kris Jurka
>
>
> ---------------------------(end of  
> broadcast)---------------------------
> TIP 6: explain analyze is your friend
>
>
> Ahhh...imagining that irresistible "new car" smell?
> Check out new cars at Yahoo! Autos.

view thread (6+ messages)

Message-ID: <A336CD7F-D7EB-47FB-9CC3-6D2FF5AD4136@fastcrypt.com>
Permalink:  ../A336CD7F-D7EB-47FB-9CC3-6D2FF5AD4136@fastcrypt.com/
Also on:    postgresql.org/message-id/A336CD7F-D7EB-47FB-9CC3-6D2FF5AD4136@fastcrypt.com

 · 

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: pg@fastcrypt.com, mmalik_altaf@yahoo.com, books@ejurka.com
  Subject: Re: Refcursor bug
  In-Reply-To: <A336CD7F-D7EB-47FB-9CC3-6D2FF5AD4136@fastcrypt.com>
  References: <704996.38286.qm@web39113.mail.mud.yahoo.com> <A336CD7F-D7EB-47FB-9CC3-6D2FF5AD4136@fastcrypt.com>

* 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