Re: Add support for __attribute__((returns_nonnull))

Поиск
Список
Период
Сортировка
От John Naylor
Тема Re: Add support for __attribute__((returns_nonnull))
Дата
Msg-id CANWCAZbtRnK0BzwvUCD1OY_bXyYct_-t7XLo5RcY5K2TY3FJdA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Add support for __attribute__((returns_nonnull))  ("Tristan Partin" <tristan@neon.tech>)
Ответы Re: Add support for __attribute__((returns_nonnull))
Список pgsql-hackers
On Thu, Dec 28, 2023 at 1:20 AM Tristan Partin <tristan@neon.tech> wrote:
> I recently wound up in a situation where I was checking for NULL return
> values of a function that couldn't ever return NULL because the
> inability to allocate memory was always elog(ERROR)ed (aborted).

It sounds like you have a ready example to test, so what happens with the patch?

As for whether any code generation changed, I'd start by checking if
anything in a non-debug binary changed at all.



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

Предыдущее
От: vignesh C
Дата:
Сообщение: Re: Commitfest 2024-01 starting in 3 days!
Следующее
От: vignesh C
Дата:
Сообщение: Re: Commitfest manager January 2024