Re: Missing checks when malloc returns NULL...

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Missing checks when malloc returns NULL...
Дата
Msg-id CAB7nPqTiR24Tcf8fLiPzrxCrELLEy5Uo_tVThJK3c8ThMhUDvg@mail.gmail.com
обсуждение исходный текст
Ответ на 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 Thu, Sep 1, 2016 at 10:03 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Michael Paquier <michael.paquier@gmail.com> writes:
>> Also, we could take one extra step forward then, and just introduce
>> ShmemAllocExtended that holds two flags as per the attached:
>> - SHMEM_ALLOC_ZERO that zeros all the fields
>> - SHMEM_ALLOC_NO_OOM that does not fail
>
> Don't see the point really ... it's just more API churn without any
> very compelling reason.

OK, then no objection to your approach. At least I tried.
-- 
Michael



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: GIN logging GIN_SEGMENT_UNMODIFIED actions?
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Choosing parallel_degree