Re: Raising our compiler requirements for 9.6 - Mailing list pgsql-hackers

From Noah Misch
Subject Re: Raising our compiler requirements for 9.6
Date
Msg-id 20150818055930.GC2129613@tornado.leadboat.com
Whole thread Raw
In response to Re: Raising our compiler requirements for 9.6  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Mon, Aug 17, 2015 at 12:06:42PM +0200, Andres Freund wrote:
> On 2015-08-16 03:31:48 -0400, Noah Misch wrote:
> I'd love to make it a #warning intead of an error, but unfortunately
> that's not standard C :(

Okay.

> > Other than that benefit, making headers #error-on-FRONTEND mostly lets
> > us congratulate ourselves for having introduced the start of a header
> > layer distinction.  I'd be for that if PostgreSQL were new, but I
> > can't justify doing it at the user cost already apparent.  That would
> > be bad business.
> 
> To me that's basically saying that we'll never ever have any better
> separation between frontend/backend headers since each incremental
> improvement won't be justifiable.

Exactly.  This is one of those proposals that can never repay its costs.
Header refactoring seduces hackers, but the benefits don't materialize.



pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: Test code is worth the space
Next
From: Fabien COELHO
Date:
Subject: Re: checkpointer continuous flushing