Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xz7df-0005G0-9Z for pgsql-bugs@arkaria.postgresql.org; Thu, 11 Dec 2014 17:34:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xz7de-00027q-FD for pgsql-bugs@arkaria.postgresql.org; Thu, 11 Dec 2014 17:34:54 +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 1Xz7da-0001zH-83 for pgsql-bugs@postgresql.org; Thu, 11 Dec 2014 17:34:50 +0000 Received: from outmail148107.authsmtp.com ([62.13.148.107]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xz7dV-0006x1-2L for pgsql-bugs@postgresql.org; Thu, 11 Dec 2014 17:34:47 +0000 Received: from mail-c237.authsmtp.com (mail-c237.authsmtp.com [62.13.128.237]) by punt18.authsmtp.com (8.14.2/8.14.2/) with ESMTP id sBBHYhrD056509; Thu, 11 Dec 2014 17:34:43 GMT Received: from alvin.alvh.no-ip.org (client-186-37-106-102.imovil.entelpcs.cl [186.37.106.102] (may be forged)) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/) with ESMTP id sBBHYeEJ047484; Thu, 11 Dec 2014 17:34:41 GMT Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 42A97792; Thu, 11 Dec 2014 14:34:48 -0300 (CLST) Date: Thu, 11 Dec 2014 14:34:48 -0300 From: Alvaro Herrera To: matt@nonuby.com Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #12202: json operator ->>with offset Message-ID: <20141211173448.GK1768@alvh.no-ip.org> References: <20141211083227.2521.52417@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20141211083227.2521.52417@wrigleys.postgresql.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Server-Quench: fd402361-815b-11e4-9f74-002590a135d3 X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCdxZQATClZcSBoa BzkeAQdJTRslYBtL RB4bawxAL0wMSABN M15eIxoJcUtFHBZ1 VjUUWVRVVE1wXml2 bwBVbEtcakxQXAJ0 UUhPXFNSFhptCRse BlBdIGsKHlAzAn50 YkJqWj5ZWk14OxAp Rk5WFmsHeG9hbTIC UUENcx5dJgROYx9F aFV2VCIMYmBTZTQC El17DBoMEg5qYA5o bUlGdAhIGRxZVjwn QBZKGi0iB0QZQD97 akpwNV8AHA4WPEsp PEdJ X-Authentic-SMTP: 61633235383639.1024:706 X-AuthFastPath: 0 (Was 255) X-AuthSMTP-Origin: 186.37.106.102/587 X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. 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 matt@nonuby.com wrote: > I am just going to link to the stackoverflow post, as it contains both the > question and an answer which helps clarify the problem, I fear pasting as-is > here might be confusing. > > http://stackoverflow.com/questions/27415340/postgresql-offset-behavior-with-json-column?noredirect=1#comment43279635_27415340 > > tl;dr When using offset, postgres seems to want to unserialize the json data > for every row it's visiting. Please don't tl;dr bug reports. Paste the contents here. We're not in love with links to external sites. -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs