BUG #2593: Improper implimentation of SQLException

From: "Igor Urisman" <igor(dot)urisman(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #2593: Improper implimentation of SQLException
Date: 2006-08-27 23:50:57
Message-ID: 200608272350.k7RNovLv071087@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 2593
Logged by: Igor Urisman
Email address: igor(dot)urisman(at)gmail(dot)com
PostgreSQL version: 8.1.3
Operating system: Windows
Description: Improper implimentation of SQLException
Details:

The vendor error code is returned in getSQLState(), instead of getError().
At least this is the case for 23505 (ERROR: duplicate key violates unique
constraint ...)
Cheers.
Igor Urisman,
Berkeley, Ca, U.S.A.
P.S. Enjoying Postgres immensly. Thanks for the great job.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Gin Indexes cause server to crash on Windows 2006-08-28 23:28:26 BUG #2594: Gin Indexes cause server to crash on Windows
Previous Message Robert Siemer 2006-08-27 12:58:00 BUG #2592: ILIKE does not care about locales