Re: BUG #11207: empty path will segfault jsonb #> - Mailing list pgsql-bugs

From Peter Geoghegan
Subject Re: BUG #11207: empty path will segfault jsonb #>
Date
Msg-id CAM3SWZT2kaPABwxta3GFzhXsLQiLP5sO10r4H--h-D50b=8P3g@mail.gmail.com
Whole thread Raw
In response to Re: BUG #11207: empty path will segfault jsonb #>  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On Wed, Aug 20, 2014 at 4:30 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> The regression test changes show that we were really pretty inconsistent
> about whether to throw error or return NULL for cases where the JSON
> tree structure didn't match the extraction request.  I think having a
> uniform rule is a definite improvement.

That's unfortunate. I'm very much in favor of these changes.


--
Peter Geoghegan

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #11207: empty path will segfault jsonb #>
Next
From: Andrew Dunstan
Date:
Subject: Re: BUG #11207: empty path will segfault jsonb #>