mirror of https://github.com/citusdata/citus.git
Disable statistics collection (#7162)
Enabled by mistake inrelease-12.0-hanefiba40eb363c
(cherry picked from commita17fae36b9
)
parent
ff268fb621
commit
db8e12f418
|
@ -1449,7 +1449,7 @@ 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,
|
||||||
#if defined(HAVE_LIBCURL)
|
#if defined(HAVE_LIBCURL) && defined(ENABLE_CITUS_STATISTICS_COLLECTION)
|
||||||
true,
|
true,
|
||||||
#else
|
#else
|
||||||
false,
|
false,
|
||||||
|
|
|
@ -14,7 +14,11 @@
|
||||||
#include "fmgr.h"
|
#include "fmgr.h"
|
||||||
#include "utils/uuid.h"
|
#include "utils/uuid.h"
|
||||||
|
|
||||||
|
#if defined(HAVE_LIBCURL) && defined(ENABLE_CITUS_STATISTICS_COLLECTION)
|
||||||
bool EnableStatisticsCollection = true; /* send basic usage statistics to Citus */
|
bool EnableStatisticsCollection = true; /* send basic usage statistics to Citus */
|
||||||
|
#else
|
||||||
|
bool EnableStatisticsCollection = false;
|
||||||
|
#endif
|
||||||
|
|
||||||
PG_FUNCTION_INFO_V1(citus_server_id);
|
PG_FUNCTION_INFO_V1(citus_server_id);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue