Re: cleanup standard includes - Mailing list pgsql-patches

From Tom Lane
Subject Re: cleanup standard includes
Date
Msg-id 11783.1032903374@sss.pgh.pa.us
Whole thread Raw
In response to Re: cleanup standard includes  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-patches
Peter Eisentraut <peter_e@gmx.net> writes:
> Neil Conway writes:
>> This patch removes a bunch of superfluous #include directives: if
>> postgres.h or c.h includes a system header (such as stdio.h or
>> stdlib.h), there's no need to specifically include it in any of the .c
>> files in the backend.

> I think we should keep this for 7.4.  I found out today that include file
> reorganization can have bizarre side effects that be had better not deal
> with now.

It looked pretty safe to me ... but I agree with Peter that this is a
bad time to be taking unnecessary risks.  Code cleanup activities can be
held for 7.4.

            regards, tom lane

pgsql-patches by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: cleanup standard includes
Next
From: Bruce Momjian
Date:
Subject: Re: cleanup standard includes