Re: Headers dependencies cleanup

Поиск
Список
Период
Сортировка
От Zdenek Kotala
Тема Re: Headers dependencies cleanup
Дата
Msg-id 47F70500.5080003@sun.com
обсуждение исходный текст
Ответ на Re: Headers dependencies cleanup  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Headers dependencies cleanup  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-patches
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.

        Zdenek

В списке pgsql-patches по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Headers dependencies cleanup
Следующее
От: Nobuhiro Iwamatsu
Дата:
Сообщение: [PATCH] sh: Add support Renesas SuperH