aboutsummaryrefslogtreecommitdiff
path: root/src/include/commands/explain.h
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2010-02-16 22:19:59 +0000
committerAndrew Dunstan <andrew@dunslane.net>2010-02-16 22:19:59 +0000
commitfc5173ad514a216dc93bc190dbba3751024a257d (patch)
tree6aef7769d8f91882752a786a03e894615274ebd8 /src/include/commands/explain.h
parent56adf3703c77295b63a71a42e602df247132e409 (diff)
downloadpostgresql-fc5173ad514a216dc93bc190dbba3751024a257d.tar.gz
postgresql-fc5173ad514a216dc93bc190dbba3751024a257d.zip
Add query text to auto_explain output.
Still to be done: fix docs and fix regression failures under auto_explain.
Diffstat (limited to 'src/include/commands/explain.h')
-rw-r--r--src/include/commands/explain.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/commands/explain.h b/src/include/commands/explain.h
index 6684ac52c81..6f39f7a5692 100644
--- a/src/include/commands/explain.h
+++ b/src/include/commands/explain.h
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994-5, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/commands/explain.h,v 1.45 2010/01/02 16:58:03 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/commands/explain.h,v 1.46 2010/02/16 22:19:59 adunstan Exp $
*
*-------------------------------------------------------------------------
*/
@@ -66,6 +66,8 @@ extern void ExplainOnePlan(PlannedStmt *plannedstmt, ExplainState *es,
extern void ExplainPrintPlan(ExplainState *es, QueryDesc *queryDesc);
+extern void ExplainQueryText(ExplainState *es, QueryDesc *queryDesc);
+
extern void ExplainBeginOutput(ExplainState *es);
extern void ExplainEndOutput(ExplainState *es);
extern void ExplainSeparatePlans(ExplainState *es);