Skip to content

Commit 2781b4b

Browse files
committed
Perform less setup work for AFTER triggers at transaction start.
Testing reveals that the memory allocation we do at transaction start has small but measurable overhead on simple transactions. To cut down on that overhead, defer some of that work to the point when AFTER triggers are first used, thus avoiding it altogether if they never are. Patch by me. Review by Andres Freund.
1 parent efbbbbc commit 2781b4b

File tree

1 file changed

+232
-196
lines changed

1 file changed

+232
-196
lines changed

0 commit comments

Comments
 (0)