Search Postgresql Archives

Re: Constraint enforcement

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Demian Lessa <demian@xxxxxxxxx> 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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux