aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/explain.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2014-10-23 12:33:02 -0400
committerRobert Haas <rhaas@postgresql.org>2014-10-23 12:33:02 -0400
commit2781b4bea7db357be59f9a5fd73ca1eb12ff5a79 (patch)
treec9e12875a953cc76d626fa31df15bdce4c7e701d /src/backend/commands/explain.c
parentefbbbbc8b51bacd32e96c3f747dd6aa4c0e444cb (diff)
downloadpostgresql-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