Create explain_format.c and move relevant code there.
authorRobert Haas
Thu, 27 Feb 2025 17:37:10 +0000 (12:37 -0500)
committerRobert Haas
Thu, 27 Feb 2025 17:37:10 +0000 (12:37 -0500)
commit9173e8b604636633a8e3aca54bb56a437bffa718
tree3d2ab9fea6b2bf5586da2b7e9dc5c10af0e82041
parent95dbd827f2edc4d10bebd7e840a0bd6782cf69b7
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
Discussion: http://postgr.es/m/CA+TgmoYutMw1Jgo8BWUmB3TqnOhsEAJiYO=rOQufF4gPLWmkLQ@mail.gmail.com
contrib/auto_explain/auto_explain.c
contrib/file_fdw/file_fdw.c
contrib/postgres_fdw/postgres_fdw.c
src/backend/commands/Makefile
src/backend/commands/explain.c
src/backend/commands/explain_format.c [new file with mode: 0644]
src/backend/commands/meson.build
src/backend/commands/prepare.c
src/include/commands/explain.h
src/include/commands/explain_format.h [new file with mode: 0644]