Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XKJAH-0007Dn-CM for pgsql-bugs@arkaria.postgresql.org; Thu, 21 Aug 2014 03:35:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XKJAF-0004DE-BM for pgsql-bugs@arkaria.postgresql.org; Thu, 21 Aug 2014 03:35:51 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XKJAE-0004D7-75 for pgsql-bugs@postgresql.org; Thu, 21 Aug 2014 03:35:50 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XKJAB-0006Sz-2W for pgsql-bugs@postgresql.org; Thu, 21 Aug 2014 03:35:48 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s7L3ZijZ030190; Wed, 20 Aug 2014 23:35:44 -0400 From: Tom Lane To: David G Johnston cc: pgsql-bugs@postgresql.org Subject: Re: BUG #11207: empty path will segfault jsonb #> In-reply-to: References: <22294.1408487132@sss.pgh.pa.us> <26461.1408497576@sss.pgh.pa.us> <27009.1408558097@sss.pgh.pa.us> <28104.1408561567@sss.pgh.pa.us> <53F4FD94.4070201@dunslane.net> <5738.1408568221@sss.pgh.pa.us> <25391.1408577416@sss.pgh.pa.us> <53F5426F.1040300@dunslane.net> <28953.1408589417@sss.pgh.pa.us> Comments: In-reply-to David G Johnston message dated "Wed, 20 Aug 2014 20:09:40 -0700" Date: Wed, 20 Aug 2014 23:35:44 -0400 Message-ID: <30189.1408592144@sss.pgh.pa.us> X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org David G Johnston writes: > On Wed, Aug 20, 2014 at 10:51 PM, Tom Lane-2 [via PostgreSQL] < > ml-node+s1045698n5815665h39@n5.nabble.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 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs