PostgreSQL Source Code git master
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
explain_format.h
Go to the documentation of this file.
1/*-------------------------------------------------------------------------
2 *
3 * explain_format.h
4 * prototypes for explain_format.c
5 *
6 * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
7 * Portions Copyright (c) 1994-5, Regents of the University of California
8 *
9 * src/include/commands/explain_format.h
10 *
11 *-------------------------------------------------------------------------
12 */
13#ifndef EXPLAIN_FORMAT_H
14#define EXPLAIN_FORMAT_H
15
16#include "nodes/pg_list.h"
17
18struct ExplainState; /* avoid including explain.h here */
19
20extern void ExplainPropertyList(const char *qlabel, List *data,
21 struct ExplainState *es);
22extern void ExplainPropertyListNested(const char *qlabel, List *data,
23 struct ExplainState *es);
24extern void ExplainPropertyText(const char *qlabel, const char *value,
25 struct ExplainState *es);
26extern void ExplainPropertyInteger(const char *qlabel, const char *unit,
27 int64 value, struct ExplainState *es);
28extern void ExplainPropertyUInteger(const char *qlabel, const char *unit,
29 uint64 value, struct ExplainState *es);
30extern void ExplainPropertyFloat(const char *qlabel, const char *unit,
31 double value, int ndigits,
32 struct ExplainState *es);
33extern void ExplainPropertyBool(const char *qlabel, bool value,
34 struct ExplainState *es);
35
36extern void ExplainOpenGroup(const char *objtype, const char *labelname,
37 bool labeled, struct ExplainState *es);
38extern void ExplainCloseGroup(const char *objtype, const char *labelname,
39 bool labeled, struct ExplainState *es);
40
41extern void ExplainOpenSetAsideGroup(const char *objtype, const char *labelname,
42 bool labeled, int depth,
43 struct ExplainState *es);
44extern void ExplainSaveGroup(struct ExplainState *es, int depth,
45 int *state_save);
46extern void ExplainRestoreGroup(struct ExplainState *es, int depth,
47 int *state_save);
48
49extern void ExplainDummyGroup(const char *objtype, const char *labelname,
50 struct ExplainState *es);
51
52extern void ExplainBeginOutput(struct ExplainState *es);
53extern void ExplainEndOutput(struct ExplainState *es);
54extern void ExplainSeparatePlans(struct ExplainState *es);
55
56extern void ExplainIndentText(struct ExplainState *es);
57
58#endif
int64_t int64
Definition: c.h:499
uint64_t uint64
Definition: c.h:503
void ExplainIndentText(struct ExplainState *es)
void ExplainPropertyInteger(const char *qlabel, const char *unit, int64 value, struct ExplainState *es)
void ExplainDummyGroup(const char *objtype, const char *labelname, struct ExplainState *es)
void ExplainPropertyListNested(const char *qlabel, List *data, struct ExplainState *es)
void ExplainPropertyText(const char *qlabel, const char *value, struct ExplainState *es)
void ExplainOpenSetAsideGroup(const char *objtype, const char *labelname, bool labeled, int depth, struct ExplainState *es)
void ExplainPropertyUInteger(const char *qlabel, const char *unit, uint64 value, struct ExplainState *es)
void ExplainBeginOutput(struct ExplainState *es)
void ExplainPropertyBool(const char *qlabel, bool value, struct ExplainState *es)
void ExplainCloseGroup(const char *objtype, const char *labelname, bool labeled, struct ExplainState *es)
void ExplainSeparatePlans(struct ExplainState *es)
void ExplainEndOutput(struct ExplainState *es)
void ExplainSaveGroup(struct ExplainState *es, int depth, int *state_save)
void ExplainPropertyList(const char *qlabel, List *data, struct ExplainState *es)
void ExplainOpenGroup(const char *objtype, const char *labelname, bool labeled, struct ExplainState *es)
void ExplainPropertyFloat(const char *qlabel, const char *unit, double value, int ndigits, struct ExplainState *es)
void ExplainRestoreGroup(struct ExplainState *es, int depth, int *state_save)
static struct @165 value
const void * data
Definition: pg_list.h:54