Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iUwzU-0008Ew-T3 for pgsql-bugs@arkaria.postgresql.org; Wed, 13 Nov 2019 18:03:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iUwzT-0006ar-Ok for pgsql-bugs@arkaria.postgresql.org; Wed, 13 Nov 2019 18:03:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iUwzT-0006aj-Gq for pgsql-bugs@lists.postgresql.org; Wed, 13 Nov 2019 18:03:39 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iUwzR-0008DQ-Dl for pgsql-bugs@lists.postgresql.org; Wed, 13 Nov 2019 18:03:39 +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 xADI3VGf004329; Wed, 13 Nov 2019 13:03:31 -0500 From: Tom Lane To: Andres Freund cc: Tomas Vondra , ben@lantern.is, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #16112: large, unexpected memory consumption In-reply-to: <20191113174733.zwfukrx7atfh65t3@alap3.anarazel.de> References: <16112-4448bbf55a404189@postgresql.org> <20191113145004.opxx4vuajyoadbcq@development> <20191113170528.caywphoaq45ggqbx@alap3.anarazel.de> <368.1573665707@sss.pgh.pa.us> <20191113174733.zwfukrx7atfh65t3@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Wed, 13 Nov 2019 09:47:33 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4327.1573668211.1@sss.pgh.pa.us> Date: Wed, 13 Nov 2019 13:03:31 -0500 Message-ID: <4328.1573668211@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > Thinking about it for a second longer, I don't think we'd need a new > context - afaict argcontext has exactly the lifetime requirements > needed. Hm, maybe so. That'd definitely be a better solution if it works. regards, tom lane