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

Re: patch: streaming of bytea parameter values

From: Dave Cramer <pg(at)fastcrypt(dot)com>
To: Kris Jurka <books(at)ejurka(dot)com>
Cc: Oliver Jowett <oliver(at)opencloud(dot)com>,"pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: patch: streaming of bytea parameter values
Date: 2004-05-25 11:38:52
Message-ID: 1085485132.1591.129.camel@localhost.localdomain (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc
We previously had a discussion about how to deal with this code, I think
before this is committed I'd like to tag the code. Just so we can have a
cvs version that folks can checkout while we sort out the issues with

On Mon, 2004-05-24 at 02:47, Kris Jurka wrote:
> On Mon, 24 May 2004, Oliver Jowett wrote:
> > The implementation of SQLState (or connectionErrorOccurred) across 
> > different drivers is quite patchy. When writing portable applications 
> > (or even driver-specific applications, to a lesser extent) you have to 
> > assume that any SQLException you don't specifically recognize means your 
> > connection is toast.
> > 
> I think a reasonable coding method would be to catch an SQLException try 
> to rollback and if that throws an Exception then you give up the 
> Connection.
> Kris Jurka
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
> !DSPAM:40b19bce197952303717472!
Dave Cramer
519 939 0336
ICQ # 14675561

In response to


pgsql-jdbc by date

Next:From: Primož GrajžlDate: 2004-05-25 14:17:53
Subject: jdbc pg bug
Previous:From: Vitaly ShimanskyDate: 2004-05-25 09:15:18
Subject: Question about connections

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