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

Re: pgstat cleanup: use palloc and AllocateFile

From: Neil Conway <neilc(at)samurai(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: pgstat cleanup: use palloc and AllocateFile
Date: 2004-10-28 01:39:25
Message-ID: 1098927565.26285.1.camel@localhost.localdomain (view raw or flat)
Thread:
Lists: pgsql-patches
On Thu, 2004-10-28 at 02:20, Tom Lane wrote:
> I'd suggest just allocating the tabstat space in TopMemoryContext.  The
> extra sub-context is useless overhead, since you don't actually use it
> for management purposes.

I don't know why I didn't think of that :)

Patch applied with your suggested change.

-Neil



In response to

pgsql-patches by date

Next:From: Kevin BrownDate: 2004-10-28 03:20:45
Subject: Re: [PATCHES] ARC Memory Usage analysis
Previous:From: Tom LaneDate: 2004-10-28 00:41:54
Subject: Re: [HACKERS] rmtree() failure on Windows

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