From: Altaf Malik <mmalik_altaf@yahoo.com>
To: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Refcursor bug
Date: Fri, 27 Apr 2007 10:56:32 -0700 (PDT)
Message-ID: <704996.38286.qm@web39113.mail.mud.yahoo.com> (raw)
In-Reply-To: <Pine.BSO.4.64.0704271333080.13486@leary.csoft.net>
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.
--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 outnew cars at Yahoo! Autos.
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: mmalik_altaf@yahoo.com, books@ejurka.com
Subject: Re: Refcursor bug
In-Reply-To: <704996.38286.qm@web39113.mail.mud.yahoo.com>
References: <Pine.BSO.4.64.0704271333080.13486@leary.csoft.net> <704996.38286.qm@web39113.mail.mud.yahoo.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