Allocate local buffers in a context of their own, rather than dumping them
into TopMemoryContext. This makes no functional difference, but makes it
easier to see what the space is being used for in MemoryContextStats dumps.
Per a recent example in which I was surprised by the size of TopMemoryContext.
localbuf.c (r1.90 -> r1.91)
pgsql-committers by date
|Next:||From: Tom Lane||Date: 2010-08-19 16:16:27|
|Subject: pgsql: Allocate local buffers in a context of their own, rather than |
|Previous:||From: Tom Lane||Date: 2010-08-19 15:46:30|
|Subject: pgsql: Fix possible corruption of AfterTriggerEventLists in |