Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZGqnR-0007h7-PQ for pgsql-bugs@arkaria.postgresql.org; Sun, 19 Jul 2015 15:46:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZGqnQ-0005QK-TR for pgsql-bugs@arkaria.postgresql.org; Sun, 19 Jul 2015 15:46:32 +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) (envelope-from ) id 1ZGqmo-0004jk-7R for pgsql-bugs@postgresql.org; Sun, 19 Jul 2015 15:45:54 +0000 Received: from smtp-auth.no-ip.com ([8.23.224.61] helo=out.smtp-auth.no-ip.com) by makus.postgresql.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZGqmg-0006TB-4I for pgsql-bugs@postgresql.org; Sun, 19 Jul 2015 15:45:52 +0000 X-No-IP: alvh.no-ip.org@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from alvin.alvh.no-ip.org (unknown [90.177.213.61]) (Authenticated sender: alvh.no-ip.org@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id E3031400924; Sun, 19 Jul 2015 08:45:37 -0700 (PDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id 5E7F21AE5; Sun, 19 Jul 2015 19:44:49 +0400 (SAMT) Date: Sun, 19 Jul 2015 17:44:49 +0200 From: Alvaro Herrera To: Michael Paquier Cc: Tom Lane , Bill Parker , PostgreSQL mailing lists Subject: Re: Lack of Sanity Checking in file 'pctcl.c' for PostgreSQL 9.4.x Message-ID: <20150719154449.GD2301@postgresql.org> References: <20150612194716.GQ133018@postgresql.org> <4457.1434166911@sss.pgh.pa.us> <20150718155421.GZ2301@postgresql.org> <20150718201915.GA2297@postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) 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 Michael Paquier wrote: > On Sun, Jul 19, 2015 at 5:19 AM, Alvaro Herrera > wrote: > > With some additional effort, we could get rid of perm_fmgr_info, at > > least in pltcl. (That hack was introduced in a3ed622b63b and > > 7748e9e7e5a back in 2001 and we never actually fixed it ...) > > Yes it seems so, even for plperl and plpython there seem to be some > room for improvement at quick glance... This looks like a master-only > change to me though (and I am sure we are on the same page). For > back-branches something like the previous patch is definitely safer. Yes, agreed on both counts. I will push the patch when I have a moment. -- Á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