Unnecessary #include in objectaddress.h? - Mailing list pgsql-hackers

From Adam Brightwell
Subject Unnecessary #include in objectaddress.h?
Date
Msg-id CAKRt6CT6Av0SdRWK76yA8_YPfkWZC=UhNXOZnOccvR1bYweDjA@mail.gmail.com
Whole thread Raw
Responses Re: Unnecessary #include in objectaddress.h?
List 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

Attachment

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: "make check" changes have caused buildfarm deterioration.
Next
From: Tom Lane
Date:
Subject: Re: "make check" changes have caused buildfarm deterioration.