4 messages in org.postgresql.pgsql-jdbcBest Way to handle duplicate key exce...
FromSent OnAttachments
Peter NeuJul 27, 2006 1:44 am 
Roland WalterJul 27, 2006 2:17 am 
Roland WalterJul 27, 2006 2:25 am 
Peter NeuJul 27, 2006 4:42 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Best Way to handle duplicate key exceptionsActions...
From:Peter Neu (pete@gmx.net)
Date:Jul 27, 2006 4:42:01 am
List:org.postgresql.pgsql-jdbc

Hello,

what is he best way to handle duplicate key exceptions? When I do bulk import I don't want the insert process to fail simply because somebody gave me an inconsistent csv file.

Is there simple way to tell Postgres to simply insert everything that is good and let me log the errors?

Cheers, Pete