mirror of https://github.com/citusdata/citus.git
guc vars 3057465acfbea2f3dd7a914a1478064022c6eecd
parent
036a96ce68
commit
ecbf368dc0
|
@ -703,12 +703,12 @@ MakeSetStatementArguments(char *configurationName, char *configurationValue)
|
|||
* is no other way to determine allowed units, and value types other than
|
||||
* using this function
|
||||
*/
|
||||
struct config_generic **gucVariables = get_guc_variables();
|
||||
int numOpts = GetNumConfigOptions();
|
||||
int gucCount;
|
||||
struct config_generic **gucVariables = get_guc_variables(&gucCount);
|
||||
struct config_generic **matchingConfig =
|
||||
(struct config_generic **) SafeBsearch((void *) &key,
|
||||
(void *) gucVariables,
|
||||
numOpts,
|
||||
gucCount,
|
||||
sizeof(struct config_generic *),
|
||||
ConfigGenericNameCompare);
|
||||
|
||||
|
|
|
@ -2567,8 +2567,8 @@ RegisterCitusConfigVariables(void)
|
|||
static void
|
||||
OverridePostgresConfigAssignHooks(void)
|
||||
{
|
||||
struct config_generic **guc_vars = get_guc_variables();
|
||||
int gucCount = GetNumConfigOptions();
|
||||
int gucCount;
|
||||
struct config_generic **guc_vars = get_guc_variables(&gucCount);
|
||||
|
||||
for (int gucIndex = 0; gucIndex < gucCount; gucIndex++)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue