pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Create explain_format.c and move relevant code there.
Date: Thu, 27 Feb 2025 18:13:39 +0000
Message-ID: <E1tniOB-00017J-15@gemulon.postgresql.org> (raw)

Create explain_format.c and move relevant code there.

explain.c has grown rather large, so move various functions that
are principally concerned with output generation to a new source
file, explain_format.c, instead of lumping them in with everything
else that is part of explain.c

Reviewed-by: Peter Geoghegan <pg@bowt.ie>
Discussion: http://postgr.es/m/CA+TgmoYutMw1Jgo8BWUmB3TqnOhsEAJiYO=rOQufF4gPLWmkLQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9173e8b604636633a8e3aca54bb56a437bffa718

Modified Files
--------------
contrib/auto_explain/auto_explain.c   |   1 +
contrib/file_fdw/file_fdw.c           |   1 +
contrib/postgres_fdw/postgres_fdw.c   |   1 +
src/backend/commands/Makefile         |   1 +
src/backend/commands/explain.c        | 704 +--------------------------------
src/backend/commands/explain_format.c | 713 ++++++++++++++++++++++++++++++++++
src/backend/commands/meson.build      |   1 +
src/backend/commands/prepare.c        |   1 +
src/include/commands/explain.h        |  24 --
src/include/commands/explain_format.h |  52 +++
10 files changed, 772 insertions(+), 727 deletions(-)



Message-ID: <E1tniOB-00017J-15@gemulon.postgresql.org>
Permalink:  ../E1tniOB-00017J-15@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tniOB-00017J-15@gemulon.postgresql.org

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Create explain_format.c and move relevant code there.
  In-Reply-To: <E1tniOB-00017J-15@gemulon.postgresql.org>

* 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