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

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 (view raw or flat)
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

pgsql-bugs by date

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

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