enable_statistics_collection defaults to off

pull/2750/head
Marco Slot 2019-06-05 17:29:17 +02:00
parent 674b7ce29a
commit c1ac794b77
1 changed files with 2 additions and 2 deletions

View File

@ -1073,13 +1073,13 @@ RegisterCitusConfigVariables(void)
"and operating system name. This configuration value controls " "and operating system name. This configuration value controls "
"whether these reports are sent."), "whether these reports are sent."),
&EnableStatisticsCollection, &EnableStatisticsCollection,
#ifdef HAVE_LIBCURL #if defined(HAVE_LIBCURL) && defined(ENABLE_CITUS_STATISTICS_COLLECTION)
true, true,
#else #else
false, false,
#endif #endif
PGC_SIGHUP, PGC_SIGHUP,
GUC_SUPERUSER_ONLY | GUC_NO_SHOW_ALL, GUC_SUPERUSER_ONLY,
&StatisticsCollectionGucCheckHook, &StatisticsCollectionGucCheckHook,
NULL, NULL); NULL, NULL);