Unnecessary #include in objectaddress.h?

Поиск
Список
Период
Сортировка
От Adam Brightwell
Тема Unnecessary #include in objectaddress.h?
Дата
Msg-id CAKRt6CT6Av0SdRWK76yA8_YPfkWZC=UhNXOZnOccvR1bYweDjA@mail.gmail.com
обсуждение исходный текст
Ответы Re: Unnecessary #include in objectaddress.h?  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
All,

While looking at the include dependency graph for objectaddress.h:

http://doxygen.postgresql.org/objectaddress_8h.html

I saw that pg_list.h is both included and inherited (through multiple
paths) by objectaddress.h.  Perhaps this doesn't matter, but I thought
I would at least bring it up and propose removing this redundant
#include from objectaddress.h.

If it makes sense to do so, I have attached a patch that removes it.

Thanks,
Adam

--
Adam Brightwell - adam.brightwell@crunchydatasolutions.com
Database Engineer - www.crunchydatasolutions.com

Вложения

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: "make check" changes have caused buildfarm deterioration.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: "make check" changes have caused buildfarm deterioration.