diff options
author | Robert Haas <rhaas@postgresql.org> | 2025-02-27 12:37:10 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2025-02-27 12:37:10 -0500 |
commit | 9173e8b604636633a8e3aca54bb56a437bffa718 (patch) | |
tree | 3d2ab9fea6b2bf5586da2b7e9dc5c10af0e82041 /contrib | |
parent | 95dbd827f2edc4d10bebd7e840a0bd6782cf69b7 (diff) | |
download | postgresql-9173e8b604636633a8e3aca54bb56a437bffa718.tar.gz postgresql-9173e8b604636633a8e3aca54bb56a437bffa718.zip |
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
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/auto_explain/auto_explain.c | 1 | ||||
-rw-r--r-- | contrib/file_fdw/file_fdw.c | 1 | ||||
-rw-r--r-- | contrib/postgres_fdw/postgres_fdw.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/contrib/auto_explain/auto_explain.c b/contrib/auto_explain/auto_explain.c index 82c17c0a28a..8d665f1e621 100644 --- a/contrib/auto_explain/auto_explain.c +++ b/contrib/auto_explain/auto_explain.c @@ -16,6 +16,7 @@ #include "access/parallel.h" #include "commands/explain.h" +#include "commands/explain_format.h" #include "common/pg_prng.h" #include "executor/instrument.h" #include "utils/guc.h" diff --git a/contrib/file_fdw/file_fdw.c b/contrib/file_fdw/file_fdw.c index 0655bf532a0..bf707c812ed 100644 --- a/contrib/file_fdw/file_fdw.c +++ b/contrib/file_fdw/file_fdw.c @@ -25,6 +25,7 @@ #include "commands/copyfrom_internal.h" #include "commands/defrem.h" #include "commands/explain.h" +#include "commands/explain_format.h" #include "commands/vacuum.h" #include "foreign/fdwapi.h" #include "foreign/foreign.h" diff --git a/contrib/postgres_fdw/postgres_fdw.c b/contrib/postgres_fdw/postgres_fdw.c index de43727a2a0..1131a8bf77e 100644 --- a/contrib/postgres_fdw/postgres_fdw.c +++ b/contrib/postgres_fdw/postgres_fdw.c @@ -20,6 +20,7 @@ #include "catalog/pg_opfamily.h" #include "commands/defrem.h" #include "commands/explain.h" +#include "commands/explain_format.h" #include "executor/execAsync.h" #include "foreign/fdwapi.h" #include "funcapi.h" |