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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy