On 2020-Mar-03, Tom Lane wrote:
> I realized that a possible compromise position is to have tupmacs.h
> include pg_type_d.h, not the whole pg_type.h header, thus dodging the
> indirect inclusions. That still brings in the type-OID macros, but
> it's a lot less header scope creep than I was first fearing.
WFM.
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services