diff options
author | Robert Haas <rhaas@postgresql.org> | 2014-01-29 16:04:19 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2014-01-29 16:09:15 -0500 |
commit | 9347baa5bbc70368f2f01438bbb8116863dac1ec (patch) | |
tree | d39dd1fe9188f59ebd7b17810afb30c20e6c8b6d /src/include/commands/explain.h | |
parent | 5264d9154178d3aeaa0359b43a450298a7ce7281 (diff) |
Include planning time in EXPLAIN ANALYZE output.
This doesn't work for prepared queries, but it's not too easy to get
the information in that case and there's some debate as to exactly
what the right thing to measure is, so just do this for now.
Andreas Karlsson, with slight doc changes by me.
Diffstat (limited to 'src/include/commands/explain.h')
-rw-r--r-- | src/include/commands/explain.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/commands/explain.h b/src/include/commands/explain.h index e097710dddd..3488be39c38 100644 --- a/src/include/commands/explain.h +++ b/src/include/commands/explain.h @@ -67,8 +67,8 @@ extern void ExplainOneUtility(Node *utilityStmt, IntoClause *into, const char *queryString, ParamListInfo params); extern void ExplainOnePlan(PlannedStmt *plannedstmt, IntoClause *into, - ExplainState *es, - const char *queryString, ParamListInfo params); + ExplainState *es, const char *queryString, + ParamListInfo params, const instr_time *planduration); extern void ExplainPrintPlan(ExplainState *es, QueryDesc *queryDesc); extern void ExplainPrintTriggers(ExplainState *es, QueryDesc *queryDesc); |