Re: Own messages for constraints? - Mailing list pgsql-general

From hubert depesz lubaczewski
Subject Re: Own messages for constraints?
Date
Msg-id 9e4684ce0703191108vd57e41chb304f6548cfec21a@mail.gmail.com
Whole thread Raw
In response to Re: Own messages for constraints?  (Jeff Davis <pgsql@j-davis.com>)
Responses Re: Own messages for constraints?  (Martijn van Oosterhout <kleptog@svana.org>)
Re: Own messages for constraints?  (Jeff Davis <pgsql@j-davis.com>)
List pgsql-general
On 3/19/07, Jeff Davis <pgsql@j-davis.com> wrote:
> You can use an AFTER trigger instead of a CHECK constraint (but that may
> have a performance impact - test for your application).

are you sure you meant AFTER? why? generally data-checks should be in
before triggers. i guess.

depesz

--
http://www.depesz.com/ - nowy, lepszy depesz

pgsql-general by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Own messages for constraints?
Next
From: Magnus Hagander
Date:
Subject: Re: cannot get build (initdb) to work after trying for a week