aboutsummaryrefslogtreecommitdiff
path: root/src/include/commands
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2018-03-28 13:26:51 -0700
committerAndres Freund <andres@anarazel.de>2018-03-28 13:26:51 -0700
commit1f0c6a9e7dca70ba7d2c949e42298d764ca457c0 (patch)
treeaf2beee3d82d023bfdc31527d98f109ba42d13d5 /src/include/commands
parent9370462e9a79755aea367c62eb0fef96f0c42258 (diff)
downloadpostgresql-1f0c6a9e7dca70ba7d2c949e42298d764ca457c0.tar.gz
postgresql-1f0c6a9e7dca70ba7d2c949e42298d764ca457c0.zip
Add EXPLAIN support for JIT.
This just shows a few details about JITing, e.g. how many functions have been JITed, and how long that took. To avoid noise in regression tests with functions sometimes being JITed in --with-llvm builds, disable display when COSTS OFF is specified. Author: Andres Freund Discussion: https://postgr.es/m/20170901064131.tazjxwus3k2w3ybh@alap3.anarazel.de
Diffstat (limited to 'src/include/commands')
-rw-r--r--src/include/commands/explain.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/commands/explain.h b/src/include/commands/explain.h
index 6d3d94cae26..9b75baae6e6 100644
--- a/src/include/commands/explain.h
+++ b/src/include/commands/explain.h
@@ -81,6 +81,8 @@ extern void ExplainOnePlan(PlannedStmt *plannedstmt, IntoClause *into,
extern void ExplainPrintPlan(ExplainState *es, QueryDesc *queryDesc);
extern void ExplainPrintTriggers(ExplainState *es, QueryDesc *queryDesc);
+extern void ExplainPrintJIT(ExplainState *es, QueryDesc *queryDesc);
+
extern void ExplainQueryText(ExplainState *es, QueryDesc *queryDesc);
extern void ExplainBeginOutput(ExplainState *es);