Skip site navigation (1) Skip section navigation (2)

Re: patch: streaming of bytea parameter values

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: patch: streaming of bytea parameter values
Date: 2004-05-23 22:17:20
Message-ID: 40B122F0.9050900@opencloud.com (view raw or flat)
Thread:
Lists: 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

In response to

pgsql-jdbc by date

Next:From: Oliver JowettDate: 2004-05-23 22:25:51
Subject: Re: patch: streaming of bytea parameter values
Previous:From: Kris JurkaDate: 2004-05-23 21:23:37
Subject: Re: patch: streaming of bytea parameter values

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group