Re: Removal of useless include references

Поиск
Список
Период
Сортировка
Искать
От
Bruce Momjian
Тема
Re: Removal of useless include references
Дата
Msg-id
201108270116.p7R1GXg09828@momjian.us
Ответ на
Список
Дерево обсуждения
Removal of useless include references Bruce Momjian <bruce@momjian.us>
Re: Removal of useless include references Alvaro Herrera <alvherre@commandprompt.com>
Re: Removal of useless include references Bruce Momjian <bruce@momjian.us>
Re: Removal of useless include references Tom Lane <tgl@sss.pgh.pa.us>
Re: Removal of useless include references Bruce Momjian <bruce@momjian.us>
Re: Removal of useless include references Christian Ullrich <chris@chrullrich.net>
Alvaro Herrera wrote:
> Excerpts from Bruce Momjian's message of vie ago 26 01:35:45 -0300 2011:
> > It has been years since I ran src/tools/pginclude/pgrminclude to remove
> > unnecessary include files.  (I have already fixed things so include
> > files can be compiled on their own.)
> > 
> > The attached patch removes unneeded include references, and marks some
> > includes as needing to be skipped by pgrminclude.
> 
> In btree_gist I think you should remove #include "postgres.h" from the
> .h file and put it in the .c files instead, as is customary.  I think
> that would make the other changes incorrect.  ltree.h and pg_upgrade.h
> also get this wrong.

Thanks, done.

--  Bruce Momjian          http://momjian.us EnterpriseDB                             http://enterprisedb.com
 + It's impossible for everything to be true. +

В списке pgsql-hackers по дате отправления
От: Bruce Momjian
Дата:
От: Robert Haas
Дата:
FAQ