diff options
author | Robert Haas <rhaas@postgresql.org> | 2014-10-23 12:33:02 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2014-10-23 12:33:02 -0400 |
commit | 2781b4bea7db357be59f9a5fd73ca1eb12ff5a79 (patch) | |
tree | c9e12875a953cc76d626fa31df15bdce4c7e701d /src/backend/commands/explain.c | |
parent | efbbbbc8b51bacd32e96c3f747dd6aa4c0e444cb (diff) | |
download | postgresql-2781b4bea7db357be59f9a5fd73ca1eb12ff5a79.tar.gz postgresql-2781b4bea7db357be59f9a5fd73ca1eb12ff5a79.zip |
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.
Diffstat (limited to 'src/backend/commands/explain.c')
0 files changed, 0 insertions, 0 deletions