On Sun, Dec 27, 2009 at 3:03 PM, Tom Lane <t...@sss.pgh.pa.us> wrote:
> Robert Haas <robertmh...@gmail.com> writes:
>> If we're really doing it, sure.  But putting half of it in
>> TopMemoryContext and the other half in CacheMemoryContext is not
>> obviously of any value.
>
> There isn't any of that stuff that's *in* TopMemoryContext.  Whether the
> hash table contexts are children of TopMemoryContext or
> CacheMemoryContext would be important if we were ever going to reset
> either, but we aren't.  The main point in my mind is that it be possible
> to tell from a memory stats dump how much is being used for what, and we
> do have that.

Oh, I see.  I was thinking that it might matter that the hash table
contexts are descended from TopMemoryContext rather than
CacheMemoryContext, but I guess that doesn't matter very much.

...Robert

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to