Re: Headers dependencies cleanup - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Headers dependencies cleanup
Date
Msg-id 200804051433.m35EXTd18952@momjian.us
Whole thread Raw
In response to Re: Headers dependencies cleanup  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Responses Re: Headers dependencies cleanup  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Headers dependencies cleanup  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Re: Headers dependencies cleanup  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
List pgsql-patches
Zdenek Kotala wrote:
> Tom Lane napsal(a):
> > Zdenek Kotala <Zdenek.Kotala@Sun.COM> writes:
> >>>> During my work I found some header files, which include useless headers
> >>>> and on other way there are some headers which silently assume that
> >>>> requested header will be included by some other headers file.
> >>> Bruce periodically runs a script that's supposed to catch this type
> >>> of problem.  Maybe we are overdue for another run?
> >
> >> Yes, but This problem is there for long time and I think Bruce's script does not
> >> catch it.
> >
> > Exactly what problem do you see that he didn't catch?
>
> bufpage.h includes bufmgr.h, but bufpage.h does not require any definition from
> bufmgr.h. I think this dependency is there for long time.

My scripts should have found this issue, see
src/tools/pginclude/pgrminclude.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Headers dependencies cleanup
Next
From: Tom Lane
Date:
Subject: Re: Headers dependencies cleanup