Allocate local buffers in a context of their own, rather than dumping them
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/buffer/localbuf.c | modified | +16 −3 |