mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-03 08:00:21 +08:00
Fix breakage from GUC-extension-variables patch.
This commit is contained in:
parent
2095206de1
commit
6f1aa94fd9
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user