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

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 (view raw, whole thread or download thread mbox)
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

In response to

pgsql-jdbc by date

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

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