Ignore unique violations? - Mailing list pgsql-novice

From A B
Subject Ignore unique violations?
Date
Msg-id dbbf25900803270245k439841bdq45f14dffa340c1a3@mail.gmail.com
Whole thread Raw
Responses Re: Ignore unique violations?
List pgsql-novice
Is there any easy way of ignoring unique violations?
I have a table (a integer, b integer, unique (a,b) ) and want to
insert pairs of values for a and b, but I do not want to first select
to see if there is a pair  before inserting.
So can I make postgres ignore any error or exception?

The inserts are placed inside of a transaction and I really don't want
any silly error to abort it.

pgsql-novice by date:

Previous
From: "A B"
Date:
Subject: Reuse serial numbers?
Next
From: "A. Kretschmer"
Date:
Subject: Re: Reuse serial numbers?