JDBC error codes to detect duplicates? - Mailing list pgsql-interfaces

From David Wall
Subject JDBC error codes to detect duplicates?
Date
Msg-id 017801c0a27c$4b0902a0$5a2b7ad8@expertrade.com
Whole thread Raw
In response to something more about my question about performance  ("Enrico Mangano" <enrico.mangano@nethouse.it>)
Responses Re: JDBC error codes to detect duplicates?  (Max Khon <fjoe@iclub.nsu.ru>)
List pgsql-interfaces
It seems that when an INSERT causes a duplicate key exception for
unique/primary keys, the JDBC library is throwing the SQL exception but
there is no code that lets my program detect a duplicate key error, or which
key caused the duplicate error.

Is there a plan for the JDBC to return the codes for postgres back to the
program?  I running 7.1beta4 now.

David



pgsql-interfaces by date:

Previous
From: Dave Page
Date:
Subject: pgAdmin v7.1.0 Released
Next
From: Max Khon
Date:
Subject: Re: JDBC error codes to detect duplicates?