pgsql: Allocate local buffers in a context of their own, rather than

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Allocate local buffers in a context of their own, rather than
Date: 2010-08-19 16:16:20
Message-ID: 20100819161620.9E1507541D7@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/src/backend/storage/buffer:
localbuf.c (r1.90 -> r1.91)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/buffer/localbuf.c?r1=1.90&r2=1.91)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2010-08-19 16:16:27 pgsql: Allocate local buffers in a context of their own, rather than
Previous Message Tom Lane 2010-08-19 15:46:30 pgsql: Fix possible corruption of AfterTriggerEventLists in