Fix breakage from GUC-extension-variables patch.

This commit is contained in:
Tom Lane 2004-06-02 18:09:32 +00:00
parent 2095206de1
commit 6f1aa94fd9

View File

@ -10,7 +10,7 @@
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/misc/help_config.c,v 1.10 2004/05/26 15:07:39 momjian Exp $
* $PostgreSQL: pgsql/src/backend/utils/misc/help_config.c,v 1.11 2004/06/02 18:09:32 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@ -46,13 +46,16 @@ static bool displayStruct(mixedStruct *structToDisplay);
int
GucInfoMain(void)
{
int i;
struct config_generic **guc_vars = get_guc_variables();
int numOpts = GetNumConfigOptions();
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];