From: | "Adam Erickson" <adamre(at)cox(dot)net> |
---|---|
To: | "Michael Paesold" <mpaesold(at)gmx(dot)at>, <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: Rules and Triggers |
Date: | 2002-09-10 19:24:09 |
Message-ID: | ALEKKHACBIAEBNBPFKPCGEJNEKAA.adamre@cox.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Correct me if I'm wrong, but rules constrain the SQL (ie. validation).
Triggers are carried out after the SQL is executed and the data is modified.
So, to answer your question, I think rules come first. As to which order
the rules / triggers are executed probably depends on the order you put them
in when you created them but I pulled that straight out of my arse. :)
> -----Original Message-----
> From: pgsql-sql-owner(at)postgresql(dot)org
> [mailto:pgsql-sql-owner(at)postgresql(dot)org]On Behalf Of Michael Paesold
> Sent: Tuesday, September 10, 2002 1:53 PM
> To: pgsql-sql(at)postgresql(dot)org
> Subject: [SQL] Rules and Triggers
>
>
> Hi all,
>
> can you tell me in what order rules and triggers are executed?
>
> First, what comes first, the rules, or the triggers?
> And then, in what order are all the rules / triggers executed?
>
> Regards,
> Michael Paesold
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paesold | 2002-09-10 19:45:16 | Re: Rules and Triggers |
Previous Message | Michael Paesold | 2002-09-10 18:52:55 | Rules and Triggers |