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 1tubrY-00A9rT-4a for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Mar 2025 18:40:28 +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 1tubrW-002dsR-Ip for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Mar 2025 18:40:26 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tubrW-002ds2-8R for pgsql-hackers@lists.postgresql.org; Tue, 18 Mar 2025 18:40:26 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tubrU-003Yat-18 for pgsql-hackers@lists.postgresql.org; Tue, 18 Mar 2025 18:40:25 +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 52IIeJl6137945; Tue, 18 Mar 2025 14:40:19 -0400 From: Tom Lane To: Robert Haas cc: Andrei Lepikhov , 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> <899469.1741295787@sss.pgh.pa.us> <760b4c92-6790-40e1-8a2b-631744a51433@gmail.com> <27476b3c-5d08-428f-b77a-b9d56f30db69@gmail.com> ! Comments: In-reply-to Robert Haas message dated "Tue, 18 Mar 2025 12:43:18 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <137943.1742323219.1@sss.pgh.pa.us> Date: Tue, 18 Mar 2025 14:40:19 -0400 Message-ID: <137944.1742323219@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Robert Haas writes: > If you mean just after, that would amount to deciding that information > coming from extensions goes before information from core rather than > after. I thought about that and it's defensible, but in the end I > thought it made more sense for core info to come first. We could > bikeshed this endlessly, but there's no single choice that's going to > make everybody 100% happy, and adding a whole bunch of extra hooks to > cater to various preferences about exactly how the output should look > does not seem worth it to me. FWIW, I am fairly strongly against that. Every extension author is going to feel that their information is so important it should come first. Other people might have a different opinion about that, and in any case they can't all be first. There's certainly room for bikeshedding here, but I think it'd be good to get some actual experience before redesigning what you've done. regards, tom lane