Re: Fixing SQLException error codes.

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Martin Algesten <martin(at)taglab(dot)com>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Fixing SQLException error codes.
Date: 2001-06-25 15:36:46
Message-ID: Pine.LNX.4.30.0106251735070.724-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Barry Lind 2001-06-25 15:39:22 Re: [ADMIN] High memory usage [PATCH]
Previous Message Bruce Momjian 2001-06-25 14:59:11 Re: RE: [ADMIN] High memory usage [PATCH]