On 3/19/07, Jeff Davis <pgsql@xxxxxxxxxxx> 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