pgsql: Allocate local buffers in a context of their own, rather than - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Allocate local buffers in a context of their own, rather than
Date
Msg-id 20100819161620.9E1507541D7@cvs.postgresql.org
Whole thread Raw
List 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:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix possible corruption of AfterTriggerEventLists in
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Allocate local buffers in a context of their own, rather than