From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Jeff Davis <pgsql(at)j-davis(dot)com>, Thom Brown <thom(at)linux(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: making EXPLAIN extensible |
Date: | 2025-03-07 14:38:15 |
Message-ID: | f36c0a45-98cd-40b2-a7cc-f2bf02b12890@eisentraut.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 06.03.25 21:23, Robert Haas wrote:
> On Wed, Mar 5, 2025 at 4:38 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> v4 has addressed most of my nitpicks, but you still have typedefs
>> for ExplainState in both header files. My bet is that at least
>> one buildfarm animal will complain about that. I could be wrong
>> though, maybe all such compilers are in disuse now.
>
> Ugh, I suck at this, sorry. Adjusted in v5. It's hard to avoid the
> conclusion that our IWYU configuration must be fairly lenient, because
> every change seems to surface more source files that are depending on
> indirect includes.
Just to clarify this: Nobody has gone through and used IWYU to clean up
indirect includes, as you appear to imagine here. My recent IWYU work
was, besides putting some infrastructure in place, to clean up includes
that are completely unneeded. Indirect includes cleanup is a different
project that is not currently happening, AFAIK.
Also, benign typedef redefinitions are a C11 feature. In practice, all
compilers currently in play support it, and the only problem you'll get
is from the buildfarm members that are explicitly set up to warn about
accidental C11 use. We could probably have a discussion about that, but
for this patch set, it's probably better to just deal with the status quo.
From | Date | Subject | |
---|---|---|---|
Next Message | Aleksander Alekseev | 2025-03-07 14:40:54 | Re: encode/decode support for base64url |
Previous Message | Michael Banck | 2025-03-07 14:37:27 | Re: [PATCH] New predefined role pg_manage_extensions |