Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cTcej-0007B9-Br for pgsql-hackers@arkaria.postgresql.org; Tue, 17 Jan 2017 22:55:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cTcei-00041x-GR for pgsql-hackers@arkaria.postgresql.org; Tue, 17 Jan 2017 22:55:08 +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 1cTcdJ-0002TA-4h for pgsql-hackers@postgresql.org; Tue, 17 Jan 2017 22:53:41 +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 1cTcdF-0005qX-P8 for pgsql-hackers@postgresql.org; Tue, 17 Jan 2017 22:53: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 v0HMraok012583; Tue, 17 Jan 2017 17:53:36 -0500 From: Tom Lane To: Alvaro Herrera cc: Peter Eisentraut , pgsql-hackers@postgresql.org Subject: Re: [COMMITTERS] pgsql: Generate fmgr prototypes automatically In-reply-to: <20170117213548.ijzl2uw4edbreyhw@alvherre.pgsql> References: <20170117213548.ijzl2uw4edbreyhw@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Tue, 17 Jan 2017 18:35:48 -0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <12581.1484693616.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 17 Jan 2017 17:53:36 -0500 Message-ID: <12582.1484693616@sss.pgh.pa.us> X-Pg-Spam-Score: -5.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 Alvaro Herrera writes: > Alvaro Herrera wrote: >> It is possible to replace many occurrences of builtins.h with >> fmgrprotos.h. I just tried this >> git grep -l 'include.*utils/builtins.h' -- *.c | xargs perl -pi -e 's{ut= ils/builtins.h}{utils/fmgrprotos.h}' >> There's a large number of changes that the oneliner produces that must >> be reverted for the compile to be silent, but a large portion can >> remain. (I only tried src/backend/access). > 92 files are changed, 241 files still require builtins.h. Let's hold off on that till we decide on the bigger-picture plan here. If we're going to try to move those functions out of builtins.h, this result will change considerably. regards, tom lane --=20 Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers