Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9173e8b

Browse files
committed
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
1 parent 95dbd82 commit 9173e8b

File tree

10 files changed

+772
-727
lines changed

10 files changed

+772
-727
lines changed

contrib/auto_explain/auto_explain.c

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
#include "access/parallel.h"
1818
#include "commands/explain.h"
19+
#include "commands/explain_format.h"
1920
#include "common/pg_prng.h"
2021
#include "executor/instrument.h"
2122
#include "utils/guc.h"

contrib/file_fdw/file_fdw.c

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
#include "commands/copyfrom_internal.h"
2626
#include "commands/defrem.h"
2727
#include "commands/explain.h"
28+
#include "commands/explain_format.h"
2829
#include "commands/vacuum.h"
2930
#include "foreign/fdwapi.h"
3031
#include "foreign/foreign.h"

contrib/postgres_fdw/postgres_fdw.c

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
#include "catalog/pg_opfamily.h"
2121
#include "commands/defrem.h"
2222
#include "commands/explain.h"
23+
#include "commands/explain_format.h"
2324
#include "executor/execAsync.h"
2425
#include "foreign/fdwapi.h"
2526
#include "funcapi.h"

src/backend/commands/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ OBJS = \
3434
dropcmds.o \
3535
event_trigger.o \
3636
explain.o \
37+
explain_format.o \
3738
extension.o \
3839
foreigncmds.o \
3940
functioncmds.o \

0 commit comments

Comments
 (0)