pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgreSQL.org
Subject: Re: Bogus sizing parameters in some AllocSetContextCreate calls
Date: Sat, 27 Aug 2016 15:36:28 -0400
Message-ID: <24859.1472326588@sss.pgh.pa.us> (raw)
In-Reply-To: <20160827190933.3hmzdrx4hpnvrhjo@alap3.anarazel.de>
References: <21072.1472321324@sss.pgh.pa.us>
	<20160827190933.3hmzdrx4hpnvrhjo@alap3.anarazel.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Andres Freund <andres@anarazel.de> writes:
> On 2016-08-27 14:08:44 -0400, Tom Lane wrote:
>> Barring objection, I propose to make these changes in HEAD and 9.6.

> I think we might also / instead want to think about replacing a lot of
> those AllocSetContextCreate with a wrapper function. Currently is really
> rather annoying to experiment with switching the default allocator
> out. And if we're touching all that code anyway ...

I do not see why you'd think that "switching the default allocator out"
requires anything except making AllocSetContextCreate do something else.

What is actually of interest, IMO, is making *some* contexts have a
different allocator, and that is going to require case-by-case decisions
anyway.  A blanket switch seems completely useless to me.

			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



view thread (13+ messages)  latest in thread

Message-ID: <24859.1472326588@sss.pgh.pa.us>
Permalink:  ../24859.1472326588@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24859.1472326588@sss.pgh.pa.us

 · 

reply

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-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@anarazel.de
  Subject: Re: Bogus sizing parameters in some AllocSetContextCreate calls
  In-Reply-To: <24859.1472326588@sss.pgh.pa.us>
  References: <21072.1472321324@sss.pgh.pa.us> <20160827190933.3hmzdrx4hpnvrhjo@alap3.anarazel.de> <24859.1472326588@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