mirror of https://github.com/citusdata/citus.git
parent
10e20d97db
commit
a17fae36b9
|
@ -1451,7 +1451,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