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

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 ...)
Igor Urisman,
Berkeley, Ca, U.S.A.
P.S. Enjoying Postgres immensly.  Thanks for the great job.


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-2017 The PostgreSQL Global Development Group