PostgreSQL Source Code git master
help_config.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

pg_noreturn void GucInfoMain (void)
 

Function Documentation

◆ GucInfoMain()

pg_noreturn void GucInfoMain ( void  )

Definition at line 31 of file help_config.c.

32{
33 struct config_generic **guc_vars;
34 int numOpts;
35
36 /* Initialize the GUC hash table */
38
39 guc_vars = get_guc_variables(&numOpts);
40
41 for (int i = 0; i < numOpts; i++)
42 {
43 const struct config_generic *var = guc_vars[i];
44
45 if (displayStruct(var))
47 }
48
49 exit(0);
50}
struct config_generic ** get_guc_variables(int *num_vars)
Definition: guc.c:839
void build_guc_variables(void)
Definition: guc.c:870
static void printMixedStruct(const struct config_generic *structToPrint)
Definition: help_config.c:71
static bool displayStruct(const struct config_generic *structToDisplay)
Definition: help_config.c:58
int i
Definition: isn.c:77

References build_guc_variables(), displayStruct(), get_guc_variables(), i, and printMixedStruct().

Referenced by main().