Re: Missing checks when malloc returns NULL...

Поиск
Список
Период
Сортировка
Искать
От
Aleksander Alekseev
Тема
Re: Missing checks when malloc returns NULL...
Дата
Msg-id
20160830080849.GA58667@e733
Ответ на
Список
Дерево обсуждения
Missing checks when malloc returns NULL... Michael Paquier <michael.paquier@gmail.com>
Re: Missing checks when malloc returns NULL... Tom Lane <tgl@sss.pgh.pa.us>
Re: Missing checks when malloc returns NULL... Michael Paquier <michael.paquier@gmail.com>
Re: Missing checks when malloc returns NULL... Michael Paquier <michael.paquier@gmail.com>
Re: Missing checks when malloc returns NULL... Heikki Linnakangas <hlinnaka@iki.fi>
Re: Missing checks when malloc returns NULL... Michael Paquier <michael.paquier@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... Aleksander Alekseev <a.alekseev@postgrespro.ru>
Re: Missing checks when malloc returns NULL... Michael Paquier <michael.paquier@gmail.com>
Re: Missing checks when malloc returns NULL... Tom Lane <tgl@sss.pgh.pa.us>
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>
Re: Missing checks when malloc returns NULL... Michael Paquier <michael.paquier@gmail.com>
Re: Missing checks when malloc returns NULL... Tom Lane <tgl@sss.pgh.pa.us>
Re: Missing checks when malloc returns NULL... Michael Paquier <michael.paquier@gmail.com>
Re: Missing checks when malloc returns NULL... Tom Lane <tgl@sss.pgh.pa.us>
Re: Missing checks when malloc returns NULL... Michael Paquier <michael.paquier@gmail.com>
Re: Missing checks when malloc returns NULL... Tom Lane <tgl@sss.pgh.pa.us>
Re: Missing checks when malloc returns NULL... Michael Paquier <michael.paquier@gmail.com>
Re: Missing checks when malloc returns NULL... Tom Lane <tgl@sss.pgh.pa.us>
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... 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... Michael Paquier <michael.paquier@gmail.com>
Re: Missing checks when malloc returns NULL... Tom Lane <tgl@sss.pgh.pa.us>
Re: Missing checks when malloc returns NULL... Michael Paquier <michael.paquier@gmail.com>
> > 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.

Currently I can't think of any further improvements. I even would dare
to say that patch is Ready for Committer.

-- 
Best regards,
Aleksander Alekseev


В списке pgsql-hackers по дате отправления
От: Fujii Masao
Дата:
От: Michael Paquier
Дата:
FAQ