Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bRnIz-0005lk-Fz for pgsql-hackers@arkaria.postgresql.org; Mon, 25 Jul 2016 21:20:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bRnIy-0002S4-LO for pgsql-hackers@arkaria.postgresql.org; Mon, 25 Jul 2016 21:20:52 +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 1bRnHc-0000rA-RM for pgsql-hackers@postgresql.org; Mon, 25 Jul 2016 21:19:29 +0000 Received: from mail-qk0-x232.google.com ([2607:f8b0:400d:c09::232]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bRnHY-0004eL-3x for pgsql-hackers@postgresql.org; Mon, 25 Jul 2016 21:19:25 +0000 Received: by mail-qk0-x232.google.com with SMTP id s63so176119426qkb.2 for ; Mon, 25 Jul 2016 14:19:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=9lvYVLVRPjDg4kAeg4nkWfniyg48DCyPlWoCJclwwDw=; b=sjkWRSh7PyLiMFMbV0ZyIYjpTmhEnmpFb6YLK+w5qgir22pfVOXMNy+9bcN7+rRMw3 ZnNkuHNojJdmDZfEiITZ7nWYiEFPze7/is41ro5+aPYjFC7iZKZOceTNB/BE4D6E7b0l Km9f82nniyma6q5rz9aKu9aykr2mGDfS7VCZ5MsQBcMqyTl6zpm/ZyPxTJfdC8Mi8xfr a2WKMugN2kk+YMlP6uyLCSJbBgTDL3HKC5qtRiAd7CS1EkMD1WjTvQaeUbtstb/E/qcW f/VHfweCoClrcjvF/d7uygDlAYrpWqVaTAEJr3siLZ6lPueOZ9K8e609zKGZH4+K+1vW bTmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=9lvYVLVRPjDg4kAeg4nkWfniyg48DCyPlWoCJclwwDw=; b=l1rX8RWNlBvd/ap0PwQWyNyg6/asX8nEJ3r6F6xbCXn45QiPP7bmCvuPt7S/hrLPvg Xj/wj9n63s15WyYOhQGneh4R/vEpJDpK9gb9ij2XuBqbGUY3SatDKFBhdVu2N9Kt9SL9 OvHO9PIYlbbA8xtAPFIUkRXBP0oyU6EKlV3M2eeyxF6YjV/zxVvTmq3ShhdKGvJ4nX6q 4ejx97QdbSMNnGab99pAujrXflpFltU7HQ+wDJ2yOHVB+2lm0JYNS0wkK1NYBEWJIQKt vxBYZ3PtnbZGIgok22WZwe5FCORi2+Sqg2PP1kAoQFCO7w7FxRvU2zUBe9pGzHkb5Ugj ZpPg== X-Gm-Message-State: AEkoouu7vKoUCh3VgrIbXktT+BxqlO2s5jY9Ajyyw4mTflFYTHK9GxKYyMANlBxwDuwwCWs/ X-Received: by 10.55.141.193 with SMTP id p184mr25667284qkd.47.1469481562656; Mon, 25 Jul 2016 14:19:22 -0700 (PDT) Received: from alvin.alvh.no-ip.org (pc-68-182-104-200.cm.vtr.net. [200.104.182.68]) by smtp.gmail.com with ESMTPSA id 127sm16729917qkk.19.2016.07.25.14.19.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Jul 2016 14:19:22 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id EAB1D5EA; Mon, 25 Jul 2016 17:19:19 -0400 (CLT) Date: Mon, 25 Jul 2016 17:19:19 -0400 From: Alvaro Herrera To: Tom Lane Cc: Amit Kapila , pgsql-hackers Subject: Re: Curing plpgsql's memory leaks for statement-lifespan values Message-ID: <20160725211919.GA298355@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5916.1469472648@sss.pgh.pa.us> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -1.1 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Tom Lane wrote: > Although this is in principle a bug fix, it's invasive enough that I'd > be pretty hesitant to back-patch it, or even to stick it into HEAD > post-beta. I'm inclined to sign it up for the next commitfest instead. Do we have a backpatchable fix for the reported problem? If so, then it seems a good tradeoff to install this more invasive fix in HEAD only and apply the simpler fix to back branches. Otherwise, is the proposal to leave the bug unfixed in back branches? -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers