Improve EXPLAIN ANALYZE to show the time spent in each trigger when

Tom Lane <tgl@sss.pgh.pa.us>

Commit: adb1a6e95b2087e44c845edc15c28a87f5ba7ac1
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-03-25T21:58:00Z
Releases: 8.1.0
Improve EXPLAIN ANALYZE to show the time spent in each trigger when
executing a statement that fires triggers.  Formerly this time was
included in "Total runtime" but not otherwise accounted for.
As a side benefit, we avoid re-opening relations when firing non-deferred
AFTER triggers, because the trigger code can re-use the main executor's
ResultRelInfo data structure.

Files