summaryrefslogtreecommitdiff
path: root/src/include/commands/explain.h
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2013-04-09 10:13:38 -0400
committerRobert Haas <rhaas@postgresql.org>2013-04-09 10:25:08 -0400
commit0bf42a5f3b62cde41cb366d3442585429c6d9c50 (patch)
treec000d7a4c2539e9f851373d1074b8e42151dd2f3 /src/include/commands/explain.h
parent3ccae48f44d993351e1f881761bd6c556ebd6638 (diff)
downloadpostgresql-0bf42a5f3b62cde41cb366d3442585429c6d9c50.tar.gz
Adjust ExplainOneQuery_hook_type to take a DestReceiver argument.
The materialized views patch adjusted ExplainOneQuery to take an additional DestReceiver argument, but failed to add a matching argument to the definition of ExplainOneQuery_hook. This is a problem for users of the hook that want to call ExplainOnePlan. Fix by adding the missing argument.
Diffstat (limited to 'src/include/commands/explain.h')
-rw-r--r--src/include/commands/explain.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/commands/explain.h b/src/include/commands/explain.h
index 24ef493115..4b740d5bfd 100644
--- a/src/include/commands/explain.h
+++ b/src/include/commands/explain.h
@@ -47,6 +47,7 @@ typedef void (*ExplainOneQuery_hook_type) (Query *query,
IntoClause *into,
ExplainState *es,
const char *queryString,
+ DestReceiver *dest,
ParamListInfo params);
extern PGDLLIMPORT ExplainOneQuery_hook_type ExplainOneQuery_hook;