Re: split builtins.h to quote.h - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: split builtins.h to quote.h
Date
Msg-id 20141107214255.GU1791@alvin.alvh.no-ip.org
Whole thread Raw
In response to Re: split builtins.h to quote.h  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: split builtins.h to quote.h  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas wrote:

> I personally think that's getting our priorities backwards, but
> there's clearly a spectrum in terms of how much people care about the
> cost of partial compiles, and I'm clearly all the way on one end of
> it.  I don't like having to think hard about where a function
> prototype is or should be, and getting more consistency there would,
> for me, outweigh all other considerations.

fmgr.h is a nasty header which would do well to avoid including in other
headers as much as possible; it makes compilation in frontend
environment impossible.  For headers that don't otherwise need fmgr.h,
my preference is to keep the SQL-callable declarations in builtins.h or
some other dedicated header.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Representing a SRF return column in catalogs
Next
From: Robert Haas
Date:
Subject: Re: split builtins.h to quote.h