Re: Bogus sizing parameters in some AllocSetContextCreate calls

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Bogus sizing parameters in some AllocSetContextCreate calls
Дата
Msg-id 24859.1472326588@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Bogus sizing parameters in some AllocSetContextCreate calls  (Andres Freund <andres@anarazel.de>)
Ответы Re: Bogus sizing parameters in some AllocSetContextCreate calls  (Andres Freund <andres@anarazel.de>)
Список pgsql-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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Bogus sizing parameters in some AllocSetContextCreate calls
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Bogus sizing parameters in some AllocSetContextCreate calls