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 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
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
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(at)postgresql(dot)org
>
>
>
> !DSPAM:40b19bce197952303717472!
>
>
--
Dave Cramer
519 939 0336
ICQ # 14675561
From | Date | Subject | |
---|---|---|---|
Next Message | Primož Grajžl | 2004-05-25 14:17:53 | jdbc pg bug |
Previous Message | Vitaly Shimansky | 2004-05-25 09:15:18 | Question about connections |