pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <pg@fastcrypt.com>
To: Kris Jurka <books@ejurka.com>
Cc: Oliver Jowett <oliver@opencloud.com>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: Re: patch: streaming of bytea parameter values
Date: Tue, 25 May 2004 07:38:52 -0400
Message-ID: <1085485132.1591.129.camel@localhost.localdomain> (raw)
In-Reply-To: <Pine.BSO.4.56.0405240144490.29972@leary.csoft.net>
References: <4085F25A.8060009@opencloud.com>
	<Pine.BSO.4.56.0405220222030.20695@leary.csoft.net>
	<40AF1DDE.90206@opencloud.com>
	<Pine.BSO.4.56.0405221233190.20327@leary.csoft.net>
	<40AFEF74.6080904@opencloud.com>
	<Pine.BSO.4.56.0405230137560.5520@leary.csoft.net>
	<40B07890.6090906@opencloud.com>
	<Pine.BSO.4.56.0405231441080.5428@leary.csoft.net>
	<40B124EF.1040000@opencloud.com>
	<Pine.BSO.4.56.0405240144490.29972@leary.csoft.net>

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
this.

Dave
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@postgresql.org
> 
> 
> 
> !DSPAM:40b19bce197952303717472!
> 
> 
-- 
Dave Cramer
519 939 0336
ICQ # 14675561




view thread (15+ messages)  latest in thread

Message-ID: <1085485132.1591.129.camel@localhost.localdomain>
Permalink:  ../1085485132.1591.129.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1085485132.1591.129.camel@localhost.localdomain

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: pg@fastcrypt.com, books@ejurka.com, oliver@opencloud.com
  Subject: Re: patch: streaming of bytea parameter values
  In-Reply-To: <1085485132.1591.129.camel@localhost.localdomain>
  References: <4085F25A.8060009@opencloud.com> <Pine.BSO.4.56.0405220222030.20695@leary.csoft.net> <40AF1DDE.90206@opencloud.com> <Pine.BSO.4.56.0405221233190.20327@leary.csoft.net> <40AFEF74.6080904@opencloud.com> <Pine.BSO.4.56.0405230137560.5520@leary.csoft.net> <40B07890.6090906@opencloud.com> <Pine.BSO.4.56.0405231441080.5428@leary.csoft.net> <40B124EF.1040000@opencloud.com> <Pine.BSO.4.56.0405240144490.29972@leary.csoft.net> <1085485132.1591.129.camel@localhost.localdomain>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox