diff --git a/src/guc.c b/src/guc.c index 861760c17e2..c71035a2979 100644 --- a/src/guc.c +++ b/src/guc.c @@ -39,6 +39,14 @@ ts_function_telemetry_on() return ts_guc_telemetry_level > TELEMETRY_NO_FUNCTIONS; } +static const struct config_enum_entry telemetry_level_options[] = { + { "off", TELEMETRY_OFF, false }, + { "no_functions", TELEMETRY_NO_FUNCTIONS, false }, + { "basic", TELEMETRY_BASIC, false }, + { NULL, 0, false } +}; +#endif + bool ts_is_whitelisted_indexam(const char *amname) { @@ -67,14 +75,6 @@ ts_is_whitelisted_indexam(const char *amname) return false; } -static const struct config_enum_entry telemetry_level_options[] = { - { "off", TELEMETRY_OFF, false }, - { "no_functions", TELEMETRY_NO_FUNCTIONS, false }, - { "basic", TELEMETRY_BASIC, false }, - { NULL, 0, false } -}; -#endif - /* Copied from contrib/auto_explain/auto_explain.c */ static const struct config_enum_entry loglevel_options[] = { { "debug5", DEBUG5, false }, { "debug4", DEBUG4, false }, { "debug3", DEBUG3, false },