pgsql: Create explain_dr.c and move DestReceiver-related code there.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Create explain_dr.c and move DestReceiver-related code there.
Date: 2025-02-27 18:23:04
Message-ID: E1tniXI-0001AR-1E@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Create explain_dr.c and move DestReceiver-related code there.

explain.c has grown rather large, and the code that deals with the
DestReceiver that supports the SERIALIZE option is pretty easily severable
from the rest of explain.c; hence, move it to a separate file.

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/555960a0fbf0590a744f36e90e69e2501dc06146

Modified Files
--------------
src/backend/commands/Makefile | 1 +
src/backend/commands/explain.c | 299 +-----------------------------------
src/backend/commands/explain_dr.c | 308 ++++++++++++++++++++++++++++++++++++++
src/backend/commands/meson.build | 1 +
src/include/commands/explain_dr.h | 30 ++++
5 files changed, 341 insertions(+), 298 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Mark Dilger 2025-02-27 22:17:27 Re: pgsql: Generalize hash and ordering support in amapi
Previous Message Robert Haas 2025-02-27 18:13:39 pgsql: Create explain_format.c and move relevant code there.