Re: naming triggers for execution - Mailing list pgsql-general

From Michael Nolan
Subject Re: naming triggers for execution
Date
Msg-id CAOzAqu+dTGDH50YfOyt7HcKekxEPZt=HQ3pRk4g8yFXRyGuZWQ@mail.gmail.com
Whole thread Raw
In response to naming triggers for execution  (PegoraroF10 <marcos@f10.com.br>)
Responses Re: naming triggers for execution  (PegoraroF10 <marcos@f10.com.br>)
List pgsql-general

Considering that the auditing needs to be the last, how can I be sure it´ll
ran lastly ?

IMHO, auditing should be done in after- triggers, when that the data in the records being inserted, updated or deleted can't be changed but you can still write to the separate auditing tables.
--
Mike Nolan

pgsql-general by date:

Previous
From: PegoraroF10
Date:
Subject: naming triggers for execution
Next
From: Tom Lane
Date:
Subject: Re: Query which shows FK child columns?