Re: BUG #13514: PostgreSQL backend process crashes on jsonb_object_agg()

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: BUG #13514: PostgreSQL backend process crashes on jsonb_object_agg()
Дата
Msg-id 55B12D58.3000608@dunslane.net
обсуждение исходный текст
Ответ на Re: BUG #13514: PostgreSQL backend process crashes on jsonb_object_agg()  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #13514: PostgreSQL backend process crashes on jsonb_object_agg()  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On 07/22/2015 11:14 PM, Tom Lane wrote:
> b.yordanov2@gmail.com writes:
>> jsonb_object_agg() appears to fail when the second argument (in this case
>> attributes->z->'tt') is a nonexistent jsonb column (there is
>> attributes->z->'t' but not 'tt').
> Seems to be failure to handle nulls properly.  The attached patch stops
> the crash for me, but I've not checked to see if the results are "right",
> nor scouted around to see if there are similar bugs nearby.
>
>


I think there is possibly a bit more work to do w.r.t. nulls. I will
check on it.

cheers

andrew

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: BUG #13497: Build with dtrace fails
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #13514: PostgreSQL backend process crashes on jsonb_object_agg()