pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Generate fmgr prototypes automatically
Date: Tue, 17 Jan 2017 14:46:53 -0500
Message-ID: <40b53c62-4cf6-2d79-4aaa-c76a76532caa@2ndquadrant.com> (raw)
In-Reply-To: <1771.1484681728@sss.pgh.pa.us>
References: <E1cTZ5U-00037Y-95@gemulon.postgresql.org>
	<1771.1484681728@sss.pgh.pa.us>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

On 1/17/17 2:35 PM, Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> 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



view thread (13+ messages)  latest in thread

Message-ID: <40b53c62-4cf6-2d79-4aaa-c76a76532caa@2ndquadrant.com>
Permalink:  ../40b53c62-4cf6-2d79-4aaa-c76a76532caa@2ndquadrant.com/
Also on:    postgresql.org/message-id/40b53c62-4cf6-2d79-4aaa-c76a76532caa@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Generate fmgr prototypes automatically
  In-Reply-To: <40b53c62-4cf6-2d79-4aaa-c76a76532caa@2ndquadrant.com>
  References: <E1cTZ5U-00037Y-95@gemulon.postgresql.org> <1771.1484681728@sss.pgh.pa.us> <40b53c62-4cf6-2d79-4aaa-c76a76532caa@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox