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 1uc9aj-009bpG-GV for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Jul 2025 21:23:05 +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 1uc9ag-00DqSk-EZ for pgsql-hackers@arkaria.postgresql.org; Wed, 16 Jul 2025 21:23:03 +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 1uc9af-00DqSc-WA for pgsql-hackers@lists.postgresql.org; Wed, 16 Jul 2025 21:23:02 +0000 Received: from mail-il1-x129.google.com ([2607:f8b0:4864:20::129]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1uc9ae-0088UT-20 for pgsql-hackers@postgresql.org; Wed, 16 Jul 2025 21:23:02 +0000 Received: by mail-il1-x129.google.com with SMTP id e9e14a558f8ab-3ddb4a7ac19so1122975ab.3 for ; Wed, 16 Jul 2025 14:23:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1752700978; x=1753305778; darn=postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=BPNWYOsu503whehddXTMaeN1g7FBBUaVTuBoSbRJNww=; b=HGenQAyGLVT1lUZLEJdlPnp7GfTa8d46TBwNhzbwHI9fSv6CMkOQzD6rz+1+FcpDOt 3jMZ1XrIKNBsvx+SceLLyxUvpeR2Tqc1dlBpN/V+lPkIlzI35JNQX0u/ZXNfpRHCTV7l cuRRXs4WEiFwRqoN9LM14qKXC9I9P8D+aMmUFefbaghr9Q87iXbWhPa0gMREcre6LUvR dmwfncPhgW0eBExHgn4EGqDOMvYqUdqlq1JsOq4S/3Zz4hL32hT6oIyFGZfwk3CpRfyw XqoXFZhNBrSOiBkgElk0WnLlSh47CgWkiG9wzWCbQyWSPHrjVVgVC0ZOGTIB75ViyIjX MKkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752700978; x=1753305778; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=BPNWYOsu503whehddXTMaeN1g7FBBUaVTuBoSbRJNww=; b=v04keVhXW97SAGxxAOTgy+WjbKcul8Id5QuXUgMy6M7+Jg0A4Sd8cLbE8mDHPzfNRH BzPjeKJ+xP3qmbH8V10Q/sRiZonGzNvhy2eRST4uiUTd/2sE6XaGHVUEct6CjVNcdPR2 ZfMX7HFwwR3v+TndNwPS4oqZWzQdoFxsO+WDVvwDY5fV0kGduAeYE6I0dc6ez0RGC86Y DjwVk+INLhk/3CDNl6vZd0VIPjvH1UNglEg8X4+XF304UE2esJdxojtraTaYXbhRPM/t kwLK7FYWGMJuN4e4CkkaKH5Y2iLEEJ2HFQcVhPQXqxtpf9dCjnIbpzJiMqJtYL6ksO+w Q1jw== X-Forwarded-Encrypted: i=1; AJvYcCVXwv6unUbtMJx0qTV5KQ8MsDMvSdyULcJY00xTRHq2HS4EpquAWitqo4+F69ke3TtTrADyerHGqcjrG7Tl@postgresql.org X-Gm-Message-State: AOJu0YzKaarjlILNGI74V7Wg51Fg/uqD7hpmc+KIK84ekU8HLvXcaPy8 PwODmyM8IKDV03BMNp8moVpHbLVHV2FpJldNNM4Kc2v8Y8m3csPkXCFT X-Gm-Gg: ASbGncsW1iUMbsbtN/5nB/uOboLJsfjTnhZxrWaha5kapLaGgi+M81Qo2n/Bwp3LyHb yp4jHDTC/tBjKZ8xdW8lgaqgy+Rrdmv82I9TT3l0LYDvemWMja6TAhnJumfEHYAlEdCKQWS7iX1 /TwAhz+p8xp4jfSyuGeSz4NUYoljJmsw2m5UJ14WOMxzStMwITYJC5TmI02yRz8gYheNK5FI0IH V+9Lrim/ogw2D2Z1Bvbr5sQc8ni1eDY22cHXEQQzKjRcwpE+Oq7gfXJ7sd/zkw/FuNAjIgctUaT mwYIzuh6RZvTn4mzH01eFDH5VdCj6m4fqubnsO6CgA5GTyzfi7QFPYxJJMLUwcATm/guzdywWzi WT9bnPVY0DjghvZjif6hRicLFqjJqhdYODV9KJFddisTWEtmuPRsnsq9EVbFh2thf9GDVCXWzBM QPRSY4yvRXfZsHuOsr4GKT//Q= X-Google-Smtp-Source: AGHT+IGlIrndLCES4xvtu88W059t4FvepwVcoD0QcDman9SOw70uGeDq75YLqkMAyjS86ELeqlRIoQ== X-Received: by 2002:a05:6e02:2308:b0:3e2:8bfa:7fc0 with SMTP id e9e14a558f8ab-3e28bfa8137mr9741645ab.1.1752700978406; Wed, 16 Jul 2025 14:22:58 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-50556535f5esm3265462173.9.2025.07.16.14.22.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Jul 2025 14:22:57 -0700 (PDT) Date: Wed, 16 Jul 2025 16:22:56 -0500 From: Nathan Bossart To: Dean Rasheed Cc: Robert Treat , "David G. Johnston" , pgsql-hackers@postgresql.org Subject: Re: small fix for pg_overexplain docs Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="lbZnPB6iSeiiaOFz" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --lbZnPB6iSeiiaOFz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jul 16, 2025 at 07:45:05PM +0100, Dean Rasheed wrote: > Maybe. It's kind-of annoying that all the modules that aren't > extensions use different text. Maybe there are genuine differences -- > I didn't look too closely. It would be nice if we just had one > standard description that they all could refer to, but if that's > possible, it's a much bigger patch than you probably want to worry > about here, so I'm happy to go with your text above. Okay, here is a new version of the patch. -- nathan --lbZnPB6iSeiiaOFz Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=v2-0001-Minor-pg_overexplain-doc-adjustments.patch From 56a73791f5712e1c5db45dc3bb6020654ff77e1b Mon Sep 17 00:00:00 2001 From: Nathan Bossart Date: Wed, 16 Jul 2025 16:21:50 -0500 Subject: [PATCH v2 1/1] Minor pg_overexplain doc adjustments. --- doc/src/sgml/pgoverexplain.sgml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/pgoverexplain.sgml b/doc/src/sgml/pgoverexplain.sgml index 21930fbd3bd..ab8f05e8a23 100644 --- a/doc/src/sgml/pgoverexplain.sgml +++ b/doc/src/sgml/pgoverexplain.sgml @@ -8,7 +8,7 @@ - The pg_overexplain extends EXPLAIN + The pg_overexplain module extends EXPLAIN with new options that provide additional output. It is mostly intended to assist with debugging of and development of the planner, rather than for general use. Since this module displays internal details of planner data @@ -17,6 +17,21 @@ often as) those data structures change. + + To use it, simply load it into the server. You can load it into an + individual session: + + +LOAD 'pg_overexplain'; + + + (You must be superuser to do that.) You can also preload it into some or all + sessions by including pg_overexplain in + or + in + postgresql.conf. + + EXPLAIN (DEBUG) -- 2.39.5 (Apple Git-154) --lbZnPB6iSeiiaOFz--