Tom Lane <tgl@sss.pgh.pa.us> wrote:
> However, it's not a "commit time" trigger exactly -- keep in mind
> that SET CONSTRAINTS can override the trigger's own timing
> specification.
Hmm. Is there a way for trigger code to check whether it is running
deferred (at transaction commit time) versus immediate? (If not, I
see writing a small patch in my future to allow it.)
-Kevin