Re: Missing checks when malloc returns NULL... - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Missing checks when malloc returns NULL...
Date
Msg-id CAB7nPqQ=tD5Op_em4ux_5SXvkOBoVMu22WvM8RDnTTH7=McbxA@mail.gmail.com
Whole thread Raw
In response to Re: Missing checks when malloc returns NULL...  (Aleksander Alekseev <a.alekseev@postgrespro.ru>)
Responses Re: Missing checks when malloc returns NULL...  (Aleksander Alekseev <a.alekseev@postgrespro.ru>)
List pgsql-hackers
On Tue, Aug 30, 2016 at 5:08 PM, Aleksander Alekseev
<a.alekseev@postgrespro.ru> 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.
>
> Currently I can't think of any further improvements. I even would dare
> to say that patch is Ready for Committer.

Thanks for the fruitful input by the way! You spotted many things.
-- 
Michael



pgsql-hackers by date:

Previous
From: Aleksander Alekseev
Date:
Subject: Re: Missing checks when malloc returns NULL...
Next
From: Maksim Milyutin
Date:
Subject: Re: [WIP] Patches to enable extraction state of query execution from external session