X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id D3CE0D1B1A2 for ; Sun, 23 May 2004 19:17:43 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 55843-08 for ; Sun, 23 May 2004 19:17:26 -0300 (ADT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 7B8CCD1B17B for ; Sun, 23 May 2004 19:17:22 -0300 (ADT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=opencloud.com) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1BS1HW-0002eM-00; Mon, 24 May 2004 10:17:23 +1200 Message-ID: <40B122F0.9050900@opencloud.com> Date: Mon, 24 May 2004 10:17:20 +1200 From: Oliver Jowett User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Kris Jurka Cc: "pgsql-jdbc@postgresql.org" Subject: Re: patch: streaming of bytea parameter values References: <4085F25A.8060009@opencloud.com> <40AF1DDE.90206@opencloud.com> <40AFEF74.6080904@opencloud.com> <40B07890.6090906@opencloud.com> In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.1 tagged_above=0.0 required=5.0 tests=RCVD_IN_SORBS X-Spam-Level: X-Archive-Number: 200405/162 X-Sequence-Number: 10172 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