Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group