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

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

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