mirror of
https://github.com/postgres/postgres.git
synced 2025-10-24 01:29:19 +03:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user