mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
Make ExplainOpenGroup and ExplainCloseGroup public.
Extensions with custom plan nodes might like to use these in their EXPLAIN output. Hadi Moshayedi Discussion: https://postgr.es/m/CA+_kT_dU-rHCN0u6pjA6bN5CZniMfD=-wVqPY4QLrKUY_uJq5w@mail.gmail.com
This commit is contained in:
parent
4bd1994650
commit
66917bfaa7
@ -124,10 +124,6 @@ static void ExplainCustomChildren(CustomScanState *css,
|
|||||||
List *ancestors, ExplainState *es);
|
List *ancestors, ExplainState *es);
|
||||||
static void ExplainProperty(const char *qlabel, const char *value,
|
static void ExplainProperty(const char *qlabel, const char *value,
|
||||||
bool numeric, ExplainState *es);
|
bool numeric, ExplainState *es);
|
||||||
static void ExplainOpenGroup(const char *objtype, const char *labelname,
|
|
||||||
bool labeled, ExplainState *es);
|
|
||||||
static void ExplainCloseGroup(const char *objtype, const char *labelname,
|
|
||||||
bool labeled, ExplainState *es);
|
|
||||||
static void ExplainDummyGroup(const char *objtype, const char *labelname,
|
static void ExplainDummyGroup(const char *objtype, const char *labelname,
|
||||||
ExplainState *es);
|
ExplainState *es);
|
||||||
static void ExplainXMLTag(const char *tagname, int flags, ExplainState *es);
|
static void ExplainXMLTag(const char *tagname, int flags, ExplainState *es);
|
||||||
@ -3277,7 +3273,7 @@ ExplainPropertyBool(const char *qlabel, bool value, ExplainState *es)
|
|||||||
* If labeled is true, the group members will be labeled properties,
|
* If labeled is true, the group members will be labeled properties,
|
||||||
* while if it's false, they'll be unlabeled objects.
|
* while if it's false, they'll be unlabeled objects.
|
||||||
*/
|
*/
|
||||||
static void
|
void
|
||||||
ExplainOpenGroup(const char *objtype, const char *labelname,
|
ExplainOpenGroup(const char *objtype, const char *labelname,
|
||||||
bool labeled, ExplainState *es)
|
bool labeled, ExplainState *es)
|
||||||
{
|
{
|
||||||
@ -3340,7 +3336,7 @@ ExplainOpenGroup(const char *objtype, const char *labelname,
|
|||||||
* Close a group of related objects.
|
* Close a group of related objects.
|
||||||
* Parameters must match the corresponding ExplainOpenGroup call.
|
* Parameters must match the corresponding ExplainOpenGroup call.
|
||||||
*/
|
*/
|
||||||
static void
|
void
|
||||||
ExplainCloseGroup(const char *objtype, const char *labelname,
|
ExplainCloseGroup(const char *objtype, const char *labelname,
|
||||||
bool labeled, ExplainState *es)
|
bool labeled, ExplainState *es)
|
||||||
{
|
{
|
||||||
|
@ -101,4 +101,9 @@ extern void ExplainPropertyFloat(const char *qlabel, double value, int ndigits,
|
|||||||
extern void ExplainPropertyBool(const char *qlabel, bool value,
|
extern void ExplainPropertyBool(const char *qlabel, bool value,
|
||||||
ExplainState *es);
|
ExplainState *es);
|
||||||
|
|
||||||
|
extern void ExplainOpenGroup(const char *objtype, const char *labelname,
|
||||||
|
bool labeled, ExplainState *es);
|
||||||
|
extern void ExplainCloseGroup(const char *objtype, const char *labelname,
|
||||||
|
bool labeled, ExplainState *es);
|
||||||
|
|
||||||
#endif /* EXPLAIN_H */
|
#endif /* EXPLAIN_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user