Create explain_dr.c and move DestReceiver-related code there.
authorRobert Haas <rhaas@postgresql.org>
Thu, 27 Feb 2025 18:14:16 +0000 (13:14 -0500)
committerRobert Haas <rhaas@postgresql.org>
Thu, 27 Feb 2025 18:14:16 +0000 (13:14 -0500)
commit555960a0fbf0590a744f36e90e69e2501dc06146
treeb8b16f4b830687df96942ec23ab4fb2328e962b3
parent9173e8b604636633a8e3aca54bb56a437bffa718
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@bowt.ie>
Discussion: http://postgr.es/m/CA+TgmoYutMw1Jgo8BWUmB3TqnOhsEAJiYO=rOQufF4gPLWmkLQ@mail.gmail.com
src/backend/commands/Makefile
src/backend/commands/explain.c
src/backend/commands/explain_dr.c [new file with mode: 0644]
src/backend/commands/meson.build
src/include/commands/explain_dr.h [new file with mode: 0644]