Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jqfwN-0001NE-Rt for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Jul 2020 16:50:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jqfwM-0004Dc-Qb for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Jul 2020 16:50:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jqfwM-0004DV-Jm for pgsql-hackers@lists.postgresql.org; Wed, 01 Jul 2020 16:50:30 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jqfwK-0007sp-Ii for pgsql-hackers@postgresql.org; Wed, 01 Jul 2020 16:50:30 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 061GoO8p684712; Wed, 1 Jul 2020 12:50:24 -0400 From: Tom Lane To: Bruce Momjian cc: Robert Haas , Peter Eisentraut , pgsql-hackers Subject: Re: SQL-standard function body In-reply-to: <20200701154225.GD5186@momjian.us> References: <1c11f1eb-f00c-43b7-799d-2d44132c02d7@2ndquadrant.com> <493812.1593541480@sss.pgh.pa.us> <494838.1593543098@sss.pgh.pa.us> <582467.1593612850@sss.pgh.pa.us> <20200701154225.GD5186@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Wed, 01 Jul 2020 11:42:25 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <684710.1593622224.1@sss.pgh.pa.us> Date: Wed, 01 Jul 2020 12:50:24 -0400 Message-ID: <684711.1593622224@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Bruce Momjian writes: > Is the SQL-standard function body verified as preventing function > inlining? That seems to be a major downside. I see no reason why that would make any difference. There might be more code to be written than is in the patch, but in principle inlining should not care whether the function is pre-parsed or not. regards, tom lane