mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-27 21:52:02 +02:00
8f55b9a8ba
that are fired at end-of-statement (as is the normal case for foreign keys, for example). In this situation the per-subxact deferred trigger context is always empty when subtransaction exit is reached; so we could free it, but were not doing so, leading to an intratransaction leak of 8K or more per subtransaction. Per off-list example from Viatcheslav Kalinin subsequent to bug #3418 (his original bug report omitted a foreign key constraint needed to cause this leak). Back-patch to 8.2; prior versions were not using per-subxact contexts for deferred triggers, so did not have this leak. |
||
---|---|---|
.. | ||
aggregatecmds.c | ||
alter.c | ||
analyze.c | ||
async.c | ||
cluster.c | ||
comment.c | ||
conversioncmds.c | ||
copy.c | ||
dbcommands.c | ||
define.c | ||
discard.c | ||
explain.c | ||
functioncmds.c | ||
indexcmds.c | ||
lockcmds.c | ||
Makefile | ||
opclasscmds.c | ||
operatorcmds.c | ||
portalcmds.c | ||
prepare.c | ||
proclang.c | ||
schemacmds.c | ||
sequence.c | ||
tablecmds.c | ||
tablespace.c | ||
trigger.c | ||
typecmds.c | ||
user.c | ||
vacuum.c | ||
vacuumlazy.c | ||
variable.c | ||
view.c |