Re: not checking value returned from palloc?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: not checking value returned from palloc?
Дата
Msg-id 23703.1142804420@sss.pgh.pa.us
обсуждение исходный текст
Ответ на not checking value returned from palloc?  (Mark Dilger <pgsql@markdilger.com>)
Список pgsql-hackers
Mark Dilger <pgsql@markdilger.com> writes:
> Looking through the postgresql source code, I notice that there are many places 
> were palloc is used but the return value is not checked to see if it is null. 
Any place that *does* check it is incorrect (in the sense of being
wasted code space, not functionally incorrect).  Please read the memmgr
documentation.
        regards, tom lane


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: not checking value returned from palloc?
Следующее
От: Mark Dilger
Дата:
Сообщение: Re: not checking value returned from palloc?