puzzling JSON bug

Поиск
Список
Период
Сортировка
Искать
От
Andrew Dunstan
Тема
puzzling JSON bug
Дата
Msg-id
515DB5A7.8090307@dunslane.net
Список
Дерево обсуждения
puzzling JSON bug Andrew Dunstan <andrew@dunslane.net>
Re: puzzling JSON bug Tom Lane <tgl@sss.pgh.pa.us>
Re: puzzling JSON bug Andrew Dunstan <andrew@dunslane.net>
David Wheeler has presented me with a nasty bug case.

If I do this:
   select '{"members": { "add": [3, 4]}}'::json #> '{members,add}';

then I get a crash.

If I comment out the pfree() at json.c:parse_object_field() lines 378-9 
then I get back the right result but instead get a warning like this:
   WARNING:  problem in alloc set ExprContext: bogus aset link in block   0x1efaa80, chunk 0x1efb1f0


I'm not quite sure where I should go looking for what I've done wrong here.

cheers

andrew


В списке pgsql-hackers по дате отправления
От: Heikki Linnakangas
Дата:
От: Stephen Frost
Дата:
Сообщение: Re: Hash Join cost estimates
FAQ