Re: BUG #18657: Using JSON_OBJECTAGG with volatile function leads to segfault

Поиск
Список
Период
Сортировка
От Amit Langote
Тема Re: BUG #18657: Using JSON_OBJECTAGG with volatile function leads to segfault
Дата
Msg-id CA+HiwqHSiGf94-r5Z0ezJebufUDzp6m6NTkpo6NV23ryew__Nw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #18657: Using JSON_OBJECTAGG with volatile function leads to segfault  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Sun, Oct 20, 2024 at 1:05 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Amit Langote <amitlangote09@gmail.com> writes:
> > Updated patch attached.
>
> v8 is OK by me.  Personally I would not bother with the Asserts
> that raw_expr/formatted_expr are not null, in either place;
> the code doesn't actually depend on that, and IMO it's inconsistent
> with the style of surrounding code.  But that's not a hill to die on.

Pushed after removing the Assert and tweaking the commit message a bit.

Thanks a lot for looking at this.

--
Thanks, Amit Langote



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