pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathandbossart@gmail.com>
To: Dean Rasheed <dean.a.rasheed@gmail.com>
Cc: Robert Treat <rob@xzilla.net>
Cc: David G. Johnston <david.g.johnston@gmail.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: small fix for pg_overexplain docs
Date: Wed, 16 Jul 2025 16:22:56 -0500
Message-ID: <aHgYMP_1l15Kiqmq@nathan> (raw)
In-Reply-To: <CAEZATCVmDSUG6O2mR4PnSLGtHYEZzrVKTiE3v8gvSmx3OByBsQ@mail.gmail.com>
References: <aHVWKM8l8kLlZzgv@nathan>
	<CAKFQuwZx9XjKhmgJeJa=6p3XePWadETJtMauhr+2XY8Nkb8OcA@mail.gmail.com>
	<CABV9wwPuuMgSYVX9-bZA+wae182tU0b=0ooGU0-1c6cgKTDJHQ@mail.gmail.com>
	<CAEZATCUEaasoxNPSva5mOWJ-Lu92U6ryprB2Dgdt-_9DEdCoRw@mail.gmail.com>
	<aHfgrEXz6kqpBXTD@nathan>
	<CAEZATCVmDSUG6O2mR4PnSLGtHYEZzrVKTiE3v8gvSmx3OByBsQ@mail.gmail.com>

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

Attachments:

v2-0001-Minor-pg_overexplain-doc-adjustments.patch (text/plain, 1.6K) download From 56a73791f5712e1c5db45dc3bb6020654ff77e1b Mon Sep 17 00:00:00 2001 From: Nathan Bossart <nathan@postgresql.org> 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 @@ </indexterm> <para> - The <filename>pg_overexplain</filename> extends <command>EXPLAIN</command> + The <filename>pg_overexplain</filename> module extends <command>EXPLAIN</command> 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. </para> + <para> + To use it, simply load it into the server. You can load it into an + individual session: + +<programlisting> +LOAD 'pg_overexplain'; +</programlisting> + + (You must be superuser to do that.) You can also preload it into some or all + sessions by including <literal>pg_overexplain</literal> in + <xref linkend="guc-session-preload-libraries"/> or + <xref linkend="guc-shared-preload-libraries"/> in + <filename>postgresql.conf</filename>. + </para> + <sect2 id="pgoverexplain-debug"> <title>EXPLAIN (DEBUG)</title> -- 2.39.5 (Apple Git-154)

view thread (12+ messages)  latest in thread

Message-ID: <aHgYMP_1l15Kiqmq@nathan>
Permalink:  ../aHgYMP_1l15Kiqmq@nathan/
Also on:    postgresql.org/message-id/aHgYMP_1l15Kiqmq@nathan

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: nathandbossart@gmail.com, dean.a.rasheed@gmail.com, rob@xzilla.net, david.g.johnston@gmail.com
  Subject: Re: small fix for pg_overexplain docs
  In-Reply-To: <aHgYMP_1l15Kiqmq@nathan>
  References: <aHVWKM8l8kLlZzgv@nathan> <CAKFQuwZx9XjKhmgJeJa=6p3XePWadETJtMauhr+2XY8Nkb8OcA@mail.gmail.com> <CABV9wwPuuMgSYVX9-bZA+wae182tU0b=0ooGU0-1c6cgKTDJHQ@mail.gmail.com> <CAEZATCUEaasoxNPSva5mOWJ-Lu92U6ryprB2Dgdt-_9DEdCoRw@mail.gmail.com> <aHfgrEXz6kqpBXTD@nathan> <CAEZATCVmDSUG6O2mR4PnSLGtHYEZzrVKTiE3v8gvSmx3OByBsQ@mail.gmail.com> <aHgYMP_1l15Kiqmq@nathan>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox