Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tqa96-007CBD-Rg for pgsql-hackers@arkaria.postgresql.org; Fri, 07 Mar 2025 16:01:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tqa95-009nt7-Ij for pgsql-hackers@arkaria.postgresql.org; Fri, 07 Mar 2025 16:01:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tqa95-009nqJ-8l for pgsql-hackers@lists.postgresql.org; Fri, 07 Mar 2025 16:01:55 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tqa91-001WXk-1x for pgsql-hackers@lists.postgresql.org; Fri, 07 Mar 2025 16:01:54 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 527G1e8o1019990; Fri, 7 Mar 2025 11:01:40 -0500 From: Tom Lane To: Robert Haas cc: Peter Eisentraut , Jeff Davis , Thom Brown , PostgreSQL Hackers Subject: Re: making EXPLAIN extensible In-reply-to: References: <5bbca514250c1f8ee45f08ada94184b0ae109fe9.camel@j-davis.com> <82f96eed213c8d76b36b8a3f504576e5af493270.camel@j-davis.com> <339167.1741200807@sss.pgh.pa.us> <476382.1741208421@sss.pgh.pa.us> <480078.1741210736@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Fri, 07 Mar 2025 10:12:08 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <1019988.1741363300.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 07 Mar 2025 11:01:40 -0500 Message-ID: <1019989.1741363300@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Robert Haas writes: > On Fri, Mar 7, 2025 at 9:38=E2=80=AFAM Peter Eisentraut wrote: >> 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, bu= t >> for this patch set, it's probably better to just deal with the status q= uo. > Agreed. +1 for having a discussion at some point, though, because the > effect of the current rules seems to be that you have to write "struct > BananaSplit *" in a bunch of places instead of just 'BananaSplit *" to > avoid redefining the typedef. I'd be +1 if there's a way to allow that particular thing without thereby opening the floodgates to every other C11 feature. I expect not all of C11 is universal yet, so I think the buildfarm animals that are using -std=3Dgnu99 are mostly doing us a service. But yeah, this particular thing is a pain in the rear. regards, tom lane