From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jeff Davis <pgsql@j-davis.com>
Cc: pgsql-hackers@postgresql.org
Cc: Andres Freund <andres@anarazel.de>
Cc: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Subject: Re: Re: [COMMITTERS] pgsql: Invent a memory context reset/delete callback mechanism.
Date: Fri, 27 Feb 2015 20:42:47 -0500
Message-ID: <29787.1425087767@sss.pgh.pa.us> (raw)
In-Reply-To: <1425086819.12308.273.camel@jeff-desktop>
References: <E1YRTDR-0004to-LH@gemulon.postgresql.org>
<1425086819.12308.273.camel@jeff-desktop>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Jeff Davis <pgsql@j-davis.com> writes:
> On Fri, 2015-02-27 at 22:17 +0000, Tom Lane wrote:
>> In passing, per discussion, rearrange some boolean fields in struct
>> MemoryContextData so as to avoid wasted padding space. For safety,
>> this requires making allowInCritSection's existence unconditional;
>> but I think that's a better approach than what was there anyway.
> I notice that this uses the bytes in MemoryContextData that I was hoping
> to use for the memory accounting patch (for memory-bounded HashAgg).
Meh. I thought Andres' complaint about that was unfounded anyway ;-).
But I don't really see why a memory accounting patch should be expected to
have zero footprint.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us, pgsql@j-davis.com, pgsql-hackers@postgresql.org, andres@anarazel.de, tomas.vondra@2ndquadrant.com
Subject: Re: [COMMITTERS] pgsql: Invent a memory context reset/delete callback mechanism.
In-Reply-To: <29787.1425087767@sss.pgh.pa.us>
References: <E1YRTDR-0004to-LH@gemulon.postgresql.org> <1425086819.12308.273.camel@jeff-desktop> <29787.1425087767@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox