summaryrefslogtreecommitdiff
path: root/contrib/auto_explain/auto_explain.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2025-02-27 12:37:10 -0500
committerRobert Haas <rhaas@postgresql.org>2025-02-27 12:37:10 -0500
commit9173e8b604636633a8e3aca54bb56a437bffa718 (patch)
tree3d2ab9fea6b2bf5586da2b7e9dc5c10af0e82041 /contrib/auto_explain/auto_explain.c
parent95dbd827f2edc4d10bebd7e840a0bd6782cf69b7 (diff)
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/auto_explain/auto_explain.c')
-rw-r--r--contrib/auto_explain/auto_explain.c1
1 files changed, 1 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"