Content-Length: 232468 | pFad | http://github.com/postgrespro/postgres/commit/2781b4bea7db357be59f9a5fd73ca1eb12ff5a79

88 Perform less setup work for AFTER triggers at transaction start. · postgrespro/postgres@2781b4b · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/2781b4bea7db357be59f9a5fd73ca1eb12ff5a79

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy