Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1IBm-00089v-Vm for pgsql-bugs@arkaria.postgresql.org; Sun, 08 Oct 2017 20:28:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1e1IBm-0003lA-9Q for pgsql-bugs@arkaria.postgresql.org; Sun, 08 Oct 2017 20:28:42 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e1IB4-0002Vq-Ed for pgsql-bugs@postgresql.org; Sun, 08 Oct 2017 20:27:58 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1e1IB1-0000W3-SH for pgsql-bugs@postgresql.org; Sun, 08 Oct 2017 20:27:57 +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 v98KRpTZ013437; Sun, 8 Oct 2017 16:27:51 -0400 From: Tom Lane To: Andres Freund cc: Lucas Fairchild-Madar , pgsql-bugs@postgresql.org Subject: Re: json(b)_array_elements use causes very large memory usage when also referencing entire json document In-reply-to: <20171008200721.sajiwovr5u2u3hqv@alap3.anarazel.de> References: <2376.1507315734@sss.pgh.pa.us> <4514.1507318623@sss.pgh.pa.us> <20171007002116.2fqr6z26byhsjwoe@alap3.anarazel.de> <2219.1507336101@sss.pgh.pa.us> <20171007022633.kckfl2g7mnmtap2c@alap3.anarazel.de> <7739.1507343737@sss.pgh.pa.us> <20171007024205.3p6idiqexbmik4cs@alap3.anarazel.de> <20171007040843.zqf4oerahz5mxrp3@alap3.anarazel.de> <20171008200721.sajiwovr5u2u3hqv@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Sun, 08 Oct 2017 13:07:21 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13435.1507494471.1@sss.pgh.pa.us> Date: Sun, 08 Oct 2017 16:27:51 -0400 Message-ID: <13436.1507494471@sss.pgh.pa.us> 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 Andres Freund writes: > On 2017-10-06 21:08:43 -0700, Andres Freund wrote: >> I'm kinda tempted to put this, after a bit more testing, into v10. > Any opinions on that? I think it's fine to put it in HEAD. I would not risk back-patching into v10. Now that we fixed the new leak, v10 is on par with the last umpteen years worth of tSRF behavior, and we've not had very many complaints about that. 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