Re: bloated heapam.h - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: bloated heapam.h
Date
Msg-id 20080513154200.GH6966@alvh.no-ip.org
Whole thread Raw
In response to Re: bloated heapam.h  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Responses Re: bloated heapam.h  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
List pgsql-hackers
Zdenek Kotala wrote:
> Alvaro Herrera napsal(a):
>
>>> I try to play with lint now if it gets better results.
>>
>> Ok, good.
>
> Hmm, It generates a lot of unnecessary includes in *.c files. I have 
> checked only couple of them and it seems that they are really 
> unnecessary. A attach output. Unfortunately, it does not detect missing 
> heapam.h from bufpage.h. However, I have not tested all magic switches 
> yet :-).  There are also several reports about system headers file, but 
> it could be platform specific warning.

Interesting.  It seems that Bruce's script could be replaced by lint.
Please share the switches you used.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: psql \? help display
Next
From: Tom Lane
Date:
Subject: Re: psql wrapped format default for backslash-d commands