Merge pull request #2750 from citusdata/stats_collection_off

enable_statistics_collection defaults to off (opt-in)
pull/2751/head^2
Marco Slot 2019-06-06 12:12:52 +02:00 committed by GitHub
commit c045c9c8eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);