On 04/04/2013 03:39 PM, Tom Lane wrote:
Andrew Dunstan writes:
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
t
Andrew Dunstan writes:
> 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 resu
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 t