Re: BUG #11207: empty path will segfault jsonb #>

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David G Johnston <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #11207: empty path will segfault jsonb #>
Date: 2014-08-21 03:35:44
Message-ID: 30189.1408592144@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

David G Johnston <david(dot)g(dot)johnston(at)gmail(dot)com> writes:
> On Wed, Aug 20, 2014 at 10:51 PM, Tom Lane-2 [via PostgreSQL] <
> ml-node+s1045698n5815665h39(at)n5(dot)nabble(dot)com> wrote:
>> If you think the latter should be dequoted, we can probably make it so.
>> I'm not entirely convinced that's right though: you could argue that
>> dequoting is a function of the -> operator and we applied zero such
>> operators. (I'm not wedded to that argument, just raising it as food
>> for thought.) Comments?

> Did you maybe intend to say the "->>" operator (which is stated to return
> text, not json)?

Right, sorry, sent that too hastily.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2014-08-21 03:36:46 Re: BUG #11207: empty path will segfault jsonb #>
Previous Message Andrew Dunstan 2014-08-21 03:15:42 Re: BUG #11207: empty path will segfault jsonb #>