From: | Dave Cramer <pg(at)fastcrypt(dot)com> |
---|---|
To: | Altaf Malik <mmalik_altaf(at)yahoo(dot)com> |
Cc: | Kris Jurka <books(at)ejurka(dot)com>, pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: Refcursor bug |
Date: | 2007-04-27 18:50:21 |
Message-ID: | A336CD7F-D7EB-47FB-9CC3-6D2FF5AD4136@fastcrypt.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
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(at)ejurka(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | David Clark | 2007-04-30 21:45:37 | Bug in org.postgresql.jdbc2.AbstractJdbc2ResultSet? |
Previous Message | Altaf Malik | 2007-04-27 17:56:32 | Re: Refcursor bug |