table constraint or trigger? - Mailing list pgsql-general

From Andreas Fromm
Subject table constraint or trigger?
Date
Msg-id 3F566922.2060102@physik.uni-erlangen.de
Whole thread Raw
List pgsql-general
Hi,

I have a situation where I could impose a constraint by a rather
complicatet CHECK table constraint, or I could define an ON INSERT OR
UPDATE trigger that would abort the transaction if the validation
doesn't succeed. Is there any advise in favor of one of the solutions?

Regards

Andreas



pgsql-general by date:

Previous
From: Greg Stark
Date:
Subject: Re: Optimizer picks an ineffient plan
Next
From: Ron Johnson
Date:
Subject: Re: Query