Re: Safe memory allocation functions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Safe memory allocation functions
Дата
Msg-id 30589.1421133891@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Safe memory allocation functions  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: Safe memory allocation functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Michael Paquier <michael.paquier@gmail.com> writes:
> Attached is a patch adding the following set of functions for frontend
> and backends returning NULL instead of reporting ERROR when allocation
> fails:
> - palloc_safe
> - palloc0_safe
> - repalloc_safe

Unimpressed with this naming convention.  "_unsafe" would be nearer
the mark ;-)
        regards, tom lane



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Safe memory allocation functions
Следующее
От: David G Johnston
Дата:
Сообщение: Re: Safe memory allocation functions