Re: unchecked malloc

Поиск
Список
Период
Сортировка
От Qingqing Zhou
Тема Re: unchecked malloc
Дата
Msg-id dhal1u$suf$1@news.hub.org
обсуждение исходный текст
Ответ на unchecked malloc  ("Qingqing Zhou" <zhouqq@cs.toronto.edu>)
Ответы Re: unchecked malloc  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
"Tom Lane" <tgl@sss.pgh.pa.us> wrote
>
> No, because you're thinking in terms of the backend environment, and
> generally in the backend the answer to "when to use malloc directly"
> is "never".
>

Well, except before MemoryContext mechanism is set up? For example, the 
functions(e.g., GUC, vfd) used during bootstrap.

So are you suggesting we fix these place by place? This should be ok.

Regards,
Qingqing 




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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: unchecked malloc
Следующее
От: Tom Lane
Дата:
Сообщение: Re: unchecked malloc