Re: pgstat cleanup: use palloc and AllocateFile - Mailing list pgsql-patches

From Neil Conway
Subject Re: pgstat cleanup: use palloc and AllocateFile
Date
Msg-id 1098927565.26285.1.camel@localhost.localdomain
Whole thread Raw
In response to Re: pgstat cleanup: use palloc and AllocateFile  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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



pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] rmtree() failure on Windows
Next
From: Neil Conway
Date:
Subject: transformExpr() refactor