BUG #2593: Improper implimentation of SQLException - Mailing list pgsql-bugs

From Igor Urisman
Subject BUG #2593: Improper implimentation of SQLException
Date
Msg-id 200608272350.k7RNovLv071087@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #2593: Improper implimentation of SQLException  (Kris Jurka <books@ejurka.com>)
List pgsql-bugs
The following bug has been logged online:

Bug reference:      2593
Logged by:          Igor Urisman
Email address:      igor.urisman@gmail.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.

pgsql-bugs by date:

Previous
From: Klaus Ita
Date:
Subject: Re: error in upper()
Next
From: "Gin Indexes cause server to crash on Windows"
Date:
Subject: BUG #2594: Gin Indexes cause server to crash on Windows