Re: Constraint enforcement - Mailing list pgsql-general

From Tom Lane
Subject Re: Constraint enforcement
Date
Msg-id 26740.1171557850@sss.pgh.pa.us
Whole thread Raw
In response to Constraint enforcement  (Demian Lessa <demian@lessa.org>)
Responses Re: Constraint enforcement  (Demian Lessa <demian@lessa.org>)
List pgsql-general
Demian Lessa <demian@lessa.org> writes:
> What I'm trying to figure out is how postgre identifies the *exact* set
> of constraints to enforce for each of the different commands above, and
> the order in which these are performed (since some checks are way more
> expensive than others).

Triggers on the same event are fired in alphabetical order by "tgname".
I don't believe any particular ordering is enforced among CHECK
constraints --- but they all happen before any triggers fire.

            regards, tom lane

pgsql-general by date:

Previous
From: Emi Lu
Date:
Subject: postgresql 8.2 Installation error at "gmake"
Next
From: Alvaro Herrera
Date:
Subject: Re: postgresql 8.2 Installation error at "gmake"