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 1tqbZp-007ciy-Cv for pgsql-hackers@arkaria.postgresql.org; Fri, 07 Mar 2025 17:33:37 +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 1tqbZn-00CyEG-2h for pgsql-hackers@arkaria.postgresql.org; Fri, 07 Mar 2025 17:33:35 +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 1tqbZm-00CyDZ-Nw for pgsql-hackers@lists.postgresql.org; Fri, 07 Mar 2025 17:33:34 +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 1tqbZj-001XSj-0t for pgsql-hackers@lists.postgresql.org; Fri, 07 Mar 2025 17:33:34 +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 527HXRqb1056392; Fri, 7 Mar 2025 12:33:27 -0500 From: Tom Lane To: Robert Haas cc: 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> Comments: In-reply-to Robert Haas message dated "Fri, 07 Mar 2025 10:05:52 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1056390.1741368807.1@sss.pgh.pa.us> Date: Fri, 07 Mar 2025 12:33:27 -0500 Message-ID: <1056391.1741368807@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Robert Haas writes: > Here's v6, doing it that way. I found that the simplest thing to do > was just push the call to GetExplainExtensionId() inside > Get/SetExplainExtensionState(). Fair enough. > Tom, what do you think? The header comments for explain_state.c could use a spellcheck. I noticed s/offests/offsets/ and s/direcrtly/directly/. Other than that, I think 0001 and 0002 are good to go. I've still not looked at 0003. regards, tom lane