Header And Logo

PostgreSQL
| The world's most advanced open source database.

Functions

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) __attribute__((noreturn))

Function Documentation

void GucInfoMain ( void   ) 

Definition at line 47 of file help_config.c.

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

Referenced by main().

{
    struct config_generic **guc_vars;
    int         numOpts,
                i;

    /* Initialize the guc_variables[] array */
    build_guc_variables();

    guc_vars = get_guc_variables();
    numOpts = GetNumConfigOptions();

    for (i = 0; i < numOpts; i++)
    {
        mixedStruct *var = (mixedStruct *) guc_vars[i];

        if (displayStruct(var))
            printMixedStruct(var);
    }

    exit(0);
}