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:27
Message-ID: 20100819161627.8746E7541D7@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.

Tags:
----
REL9_0_STABLE

Modified Files:
--------------
pgsql/src/backend/storage/buffer:
localbuf.c (r1.89 -> r1.89.6.1)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/storage/buffer/localbuf.c?r1=1.89&r2=1.89.6.1)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2010-08-19 16:54:43 pgsql: Revert patch to coerce 'unknown' type parameters in the backend.
Previous Message Tom Lane 2010-08-19 16:16:20 pgsql: Allocate local buffers in a context of their own, rather than