git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 2d8314b) | patch
Reset the per-output-tuple exprcontext each time through the main loop in
2010年8月18日 21:52:24 +0000 (21:52 +0000)
2010年8月18日 21:52:24 +0000 (21:52 +0000)
commit 3573c8346d4c1683c7052e44323abe14fb337e70
Reset the per-output-tuple exprcontext each time through the main loop in
ExecModifyTable(). This avoids memory leakage when trigger functions leave
junk behind in that context (as they more or less must). Problem and solution
identified by Dean Rasheed.

I'm a bit concerned about the longevity of this solution --- once a plan can
have multiple ModifyTable nodes, we are very possibly going to have to do
something different. But it should hold up for 9.0.
src/backend/executor/nodeModifyTable.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /