The following bug has been logged online: Bug reference: 2593 Logged by: Igor Urisman Email address: [EMAIL PROTECTED] 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. ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend