Daniel Gustafsson <daniel@yesql.se> writes:
> On 2 Oct 2022, at 18:04, Andres Freund <andres@anarazel.de> wrote:
>> c.h (and postgres.h, postgres_fe.h) shouldn't be included in headers.
>> This is a common enough mistake that I'm wondering if we could automate
>> warning about it somehow.
> Maybe we can add a simple git grep invocation in the CompilerWarnings CI job to
> catch this in the CFBot?
I'd be inclined to teach headerscheck or cpluspluscheck about it.
regards, tom lane