Re: Missing checks when malloc returns NULL...

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Missing checks when malloc returns NULL...
Дата
Msg-id CAB7nPqRB2qQVughKon-viUwACR4mKPnFRu4hu4aAKBX=UpVjEg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Missing checks when malloc returns NULL...  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: Missing checks when malloc returns NULL...  (Aleksander Alekseev <a.alekseev@postgrespro.ru>)
Re: Missing checks when malloc returns NULL...  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Missing checks when malloc returns NULL...  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tue, Aug 30, 2016 at 2:57 PM, Michael Paquier
<michael.paquier@gmail.com> wrote:
> The funny part here is that ProcGlobal->allProcs is actually handled,
> but not the two others. Well yes, you are right, we really need to
> fail on FATAL for all of them if ShmemAlloc returns NULL as they
> involve the shmem initialization at postmaster startup.

And with an actual patch things are better.
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Missing checks when malloc returns NULL...
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: OpenSSL 1.1 breaks configure and more