[PATCH] Make ExplainOpenGroup()/ExplainCloseGroup() available for extensions.
Hadi Moshayedi <hadi@citusdata.com>
From: Hadi Moshayedi <hadi@citusdata.com>
To: pgsql-hackers@postgresql.org
Date: 2017-07-25T14:27:33Z
Lists: pgsql-hackers
Attachments
- make_explainopenclosegroup_public.patch (text/x-patch) patch
Hello Hackers, The attached patch moves declarations of ExplainOpenGroup()/ExplainCloseGroup() from explain.c to explain.h. This can be useful for extensions that need explain groups in their custom-scan explain output. For example, Citus uses groups in its custom explain outputs [1]. But it achieves it by having a copy of ExplainOpenGroup()/ExplainCloseGroup() in its source code, which is not the best way. Please review. [1] https://github.com/citusdata/citus/blob/master/src/backend/ distributed/planner/multi_explain.c Thanks, Hadi
Commits
-
Make ExplainOpenGroup and ExplainCloseGroup public.
- 66917bfaa7bb 11.0 landed