Adjust ExplainOneQuery_hook_type to take a DestReceiver argument.
authorRobert Haas <rhaas@postgresql.org>
Tue, 9 Apr 2013 14:13:38 +0000 (10:13 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 9 Apr 2013 14:25:08 +0000 (10:25 -0400)
commit0bf42a5f3b62cde41cb366d3442585429c6d9c50
treec000d7a4c2539e9f851373d1074b8e42151dd2f3
parent3ccae48f44d993351e1f881761bd6c556ebd6638
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.
src/backend/commands/explain.c
src/include/commands/explain.h