Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cTZip-0005ke-SW for pgsql-committers@arkaria.postgresql.org; Tue, 17 Jan 2017 19:47:11 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cTZip-00021t-FS for pgsql-committers@arkaria.postgresql.org; Tue, 17 Jan 2017 19:47:11 +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 1cTZib-0001mU-JN for pgsql-committers@postgresql.org; Tue, 17 Jan 2017 19:46:57 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cTZiY-0001pU-RV for pgsql-committers@postgresql.org; Tue, 17 Jan 2017 19:46:56 +0000 Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 1B5EC2076B; Tue, 17 Jan 2017 14:46:54 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute7.internal (MEProxy); Tue, 17 Jan 2017 14:46:54 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc:x-sasl-enc; s= smtpout; bh=wd2vxFbtE2mf3CaAm04rJB8USlU=; b=anJ69ihWdKgq7BagnWjQ zhpbJ2Cec4iUh2Nlm628tUjocOPyeJDEiFFXRyzKqO2uo3dDNNAvVwFHSFVtfhQo 6E/L4PFXJu3LHrB635hlNKDbmQCLcIcfNonY7b5kVXeNaQQlmGIg2A6tIS1Ot9Cp YBgTVkIBIzQ2FVLMH549gbo= X-ME-Sender: X-Sasl-enc: k6WjNw17f3hzin1rIMViyRFPTNaD8L60a1ivYxvFZ6Ng 1484682413 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id D0C377E53B; Tue, 17 Jan 2017 14:46:53 -0500 (EST) Subject: Re: pgsql: Generate fmgr prototypes automatically To: Tom Lane References: <1771.1484681728@sss.pgh.pa.us> Cc: pgsql-committers@postgresql.org From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: <40b53c62-4cf6-2d79-4aaa-c76a76532caa@2ndquadrant.com> Date: Tue, 17 Jan 2017 14:46:53 -0500 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <1771.1484681728@sss.pgh.pa.us> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On 1/17/17 2:35 PM, Tom Lane wrote: > Peter Eisentraut writes: >> Generate fmgr prototypes automatically > > BTW, now that I've looked through this patch ... why does it add > > +#include "nodes/nodes.h" > +#include "nodes/pg_list.h" > > to utils/builtins.h? AFAICS that shouldn't be necessary, since > there are no declarations in builtins.h that weren't there before. > And seeing that this results in builtins.h being included in even more > places than before, surely we want to minimize that file's inclusion > footprint. There are things in builtins.h that technically need those declarations. It seems to work without it now, but at some point during the refactoring they were necessary. I can remove them again. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers