error handling unique key constraint in pgsql - Mailing list pgsql-admin

From Dinesh
Subject error handling unique key constraint in pgsql
Date
Msg-id 484EB14B.4010003@mongonet.net
Whole thread Raw
Responses Re: error handling unique key constraint in pgsql
List pgsql-admin
Hi All,

I was wondering if there is an easy way to handle unique key constraint
in pgsql. Right now my entire transaction aborts if it tries to insert
duplicate keys, but I would like to handle this
scenario in such a way that the transaction will not break.

Please let me know if you have done something like this. I greatly
appreciate your help.

Thanks,

Dinesh

pgsql-admin by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Cannot Drop Schema
Next
From: "Scott Marlowe"
Date:
Subject: Re: error handling unique key constraint in pgsql