summaryrefslogtreecommitdiff
path: root/src/include/commands/explain.h
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-11-29 01:25:50 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-11-29 01:25:50 +0000
commit9a39423436cc1e6f8b52ad5ea901274c0a7e2c09 (patch)
tree999f3fb2d457c04239eb30d44c95c3545bee93db /src/include/commands/explain.h
parent4ab76b1c20500922aebfdd0c26aef4bdcc608e88 (diff)
Fix EXPLAIN and EXECUTE commands to pass portal parameters through to
the executor. This allows, for example, JDBC clients to use '?' bound parameters in these commands. Per gripe from Virag Saksena.
Diffstat (limited to 'src/include/commands/explain.h')
-rw-r--r--src/include/commands/explain.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/commands/explain.h b/src/include/commands/explain.h
index 58cff3cdc08..8fb2721c437 100644
--- a/src/include/commands/explain.h
+++ b/src/include/commands/explain.h
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994-5, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/commands/explain.h,v 1.24 2004/12/31 22:03:28 pgsql Exp $
+ * $PostgreSQL: pgsql/src/include/commands/explain.h,v 1.25 2005/11/29 01:25:50 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -18,7 +18,8 @@
#include "tcop/dest.h"
-extern void ExplainQuery(ExplainStmt *stmt, DestReceiver *dest);
+extern void ExplainQuery(ExplainStmt *stmt, ParamListInfo params,
+ DestReceiver *dest);
extern TupleDesc ExplainResultDesc(ExplainStmt *stmt);