Allocate local buffers in a context of their own, rather than dumping them

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 67b4fcf80689da2bc89fcacea7bb80c871fa3429
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2010-08-19T16:16:27Z
Releases: 9.0.0
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

PathChange+/−
src/backend/storage/buffer/localbuf.c modified +16 −3