The attached patch moves declarations of ExplainBeginGroup()/ExplainEndGroup() 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 ExplainBeginGroup()/ExplainEndGroup() in its source code, which is not the best way.
Чтобы сделать работу с сайтом удобнее, мы используем cookie и аналитический сервис «Яндекс.Метрика». Продолжая пользоваться сайтом, вы соглашаетесь с их использованием.