Re: Bogus sizing parameters in some AllocSetContextCreate calls

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Bogus sizing parameters in some AllocSetContextCreate calls
Дата
Msg-id 20160827190933.3hmzdrx4hpnvrhjo@alap3.anarazel.de
обсуждение исходный текст
Ответ на Bogus sizing parameters in some AllocSetContextCreate calls  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Bogus sizing parameters in some AllocSetContextCreate calls  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

On 2016-08-27 14:08:44 -0400, Tom Lane wrote:
> The standard calling pattern for AllocSetContextCreate is
> Barring objection, I propose to make these changes in HEAD and 9.6.
> I don't feel a great need to adjust the back branches --- although there
> might be some argument for adding these new calling-pattern macros to the
> back branches so as not to create a back-patching hazard for patches
> that add new AllocSetContextCreate calls.

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 ...

Andres



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Renaming of pg_xlog and pg_clog
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Bogus sizing parameters in some AllocSetContextCreate calls