Re: patch: streaming of bytea parameter values - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: patch: streaming of bytea parameter values
Date
Msg-id 40B122F0.9050900@opencloud.com
Whole thread Raw
In response to Re: patch: streaming of bytea parameter values  (Kris Jurka <books@ejurka.com>)
List pgsql-jdbc
Kris Jurka wrote:
>
> On Sun, 23 May 2004, Oliver Jowett wrote:
>>It makes sense for exceptions thrown during query execution though, Are
>>there currently any cases where the driver can throw an exception from
>>query execution without invalidating the current transaction?
>>
>
> I am unsure what you mean by "query execution."  From a user's perspective
> the moment they say PreparedStatement.execute() query execution has begun

This is what I meant by query execution -- the user calling one of the
execute...() methods.

> and in that case the Exception that comes to mind is the check to make
> sure all parameters of a PreparedStatement have been set.

Ok. If that's the only driver-generated case, it's quite consistent
already (not entirely, but close!).

-O

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: patch: streaming of bytea parameter values
Next
From: Oliver Jowett
Date:
Subject: Re: patch: streaming of bytea parameter values