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

void GucInfoMain (void) pg_attribute_noreturn()
 

Function Documentation

◆ GucInfoMain()

void GucInfoMain ( void  )

Definition at line 46 of file help_config.c.

47 {
48  struct config_generic **guc_vars;
49  int numOpts,
50  i;
51 
52  /* Initialize the GUC hash table */
54 
55  guc_vars = get_guc_variables(&numOpts);
56 
57  for (i = 0; i < numOpts; i++)
58  {
59  mixedStruct *var = (mixedStruct *) guc_vars[i];
60 
61  if (displayStruct(var))
62  printMixedStruct(var);
63  }
64 
65  exit(0);
66 }
struct config_generic ** get_guc_variables(int *num_vars)
Definition: guc.c:874
void build_guc_variables(void)
Definition: guc.c:905
static void printMixedStruct(mixedStruct *structToPrint)
Definition: help_config.c:87
static bool displayStruct(mixedStruct *structToDisplay)
Definition: help_config.c:74
int i
Definition: isn.c:73
exit(1)

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

Referenced by main().