Files
postgresql/src
Neil Conway 7dd8d4673f Fix a gradual memory leak in ExecReScanAgg(). Because the aggregation
hash table is allocated in a child context of the agg node's memory
context, MemoryContextReset() will reset but *not* delete the child
context. Since ExecReScanAgg() proceeds to build a new hash table
from scratch (in a new sub-context), this results in leaking the
header for the previous memory context. Therefore, use
MemoryContextResetAndDeleteChildren() instead.

Credit: My colleague Sailesh Krishnamurthy at Truviso for isolating
the cause of the leak.
2007-08-08 18:07:03 +00:00
..
2007-07-23 18:13:10 +00:00
2006-09-27 16:19:42 +00:00
2006-07-10 15:50:02 +00:00
2006-08-08 22:44:05 +00:00