error handling - Mailing list pgsql-novice

From Verena Ruff
Subject error handling
Date
Msg-id 4450C723.8010606@triosolutions.at
Whole thread Raw
Responses Re: error handling  (Terry Lee Tucker <terry@esc1.com>)
Re: error handling  (Bruno Wolff III <bruno@wolff.to>)
List pgsql-novice
Hello,

I have a table with an UNIQUE constraint. Is it possible to have
something like a trigger (or error handler) which is called every time
a insert statement would break this constraint?  Or in some simple cases
that this record is just dropped silently, without reporting an error?

Tanks in advance,
Verena

pgsql-novice by date:

Previous
From: Mark Campbell
Date:
Subject: Re: Perl and psql variables
Next
From: Terry Lee Tucker
Date:
Subject: Re: error handling