aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/explain.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2016-03-29 11:00:18 -0400
committerRobert Haas <rhaas@postgresql.org>2016-03-29 11:28:04 -0400
commitf9143d102ffd0947ca904c62b1d3d6fd587e0c80 (patch)
treee75fb310cbad87d2641291fec320302531f5c548 /src/backend/commands/explain.c
parent534da37927f97ae7cb1b468963ba9bca747209ea (diff)
downloadpostgresql-f9143d102ffd0947ca904c62b1d3d6fd587e0c80.tar.gz
postgresql-f9143d102ffd0947ca904c62b1d3d6fd587e0c80.zip
Rework custom scans to work more like the new extensible node stuff.
Per discussion, the new extensible node framework is thought to be better designed than the custom path/scan/scanstate stuff we added in PostgreSQL 9.5. Rework the latter to be more like the former. This is not backward-compatible, but we generally don't promise that for C APIs, and there probably aren't many people using this yet anyway. KaiGai Kohei, reviewed by Petr Jelinek and me. Some further cosmetic changes by me.
Diffstat (limited to 'src/backend/commands/explain.c')
-rw-r--r--src/backend/commands/explain.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/commands/explain.c b/src/backend/commands/explain.c
index 787b0b93cce..09c230468bb 100644
--- a/src/backend/commands/explain.c
+++ b/src/backend/commands/explain.c
@@ -21,6 +21,7 @@
#include "commands/prepare.h"
#include "executor/hashjoin.h"
#include "foreign/fdwapi.h"
+#include "nodes/extensible.h"
#include "nodes/nodeFuncs.h"
#include "optimizer/clauses.h"
#include "optimizer/planmain.h"