Tom Lane wrote:
> Perhaps we should insist that nothing in src/port can include postgres.h.
> If it needs something that's not in c.h, it doesn't belong in src/port.
>
This is just consequent; files using postgres.h should be under
src/backend/port, not src/port which might be used by frontend tools too.
Regards,
Andreas