Re: Raising our compiler requirements for 9.6

Поиск
Список
Период
Сортировка
От Noah Misch
Тема Re: Raising our compiler requirements for 9.6
Дата
Msg-id 20150818055930.GC2129613@tornado.leadboat.com
обсуждение исходный текст
Ответ на Re: Raising our compiler requirements for 9.6  (Andres Freund <andres@anarazel.de>)
Список 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 по дате отправления:

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: Test code is worth the space
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: checkpointer continuous flushing