Re: Fixing SQLException error codes. - Mailing list pgsql-jdbc

From Peter Eisentraut
Subject Re: Fixing SQLException error codes.
Date
Msg-id Pine.LNX.4.30.0106251735070.724-100000@peter.localdomain
Whole thread Raw
In response to Fixing SQLException error codes.  (Martin Algesten <martin@taglab.com>)
List pgsql-jdbc
Martin Algesten writes:

> I would like to have the problem with the getErrorCode in SQLException
> always returning 0 fixed. So I figured, why don't do it myself? ... Just tot
> check before I start looking at it...
>
> Has there been any attempt fixing it? Are someone doing it anyway? Are there
> any known problems with doing it?

This issue is not unrelated to the fact that the server doesn't provide
any error codes in the first place, so the JDBC driver will have a hard
time guessing them.  Fixing this is in the (my) agenda; it may or may not
happen for the next major release.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


pgsql-jdbc by date:

Previous
From: "Dave Cramer"
Date:
Subject: RE: [ADMIN] High memory usage [PATCH]
Next
From: Bruce Momjian
Date:
Subject: Re: RE: [ADMIN] High memory usage [PATCH]