Adjust ExplainOneQuery_hook_type to take a DestReceiver argument.
Robert Haas <rhaas@postgresql.org>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/explain.c | modified | +1 −1 |
| src/include/commands/explain.h | modified | +1 −0 |