Disable statistics collection (#7162)

Enabled by mistake in

ba40eb363c
pull/7158/head
Naisila Puka 2023-08-29 16:09:19 +03:00 committed by GitHub
parent 10e20d97db
commit a17fae36b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -1451,7 +1451,7 @@ RegisterCitusConfigVariables(void)
"and operating system name. This configuration value controls "
"whether these reports are sent."),
&EnableStatisticsCollection,
#if defined(HAVE_LIBCURL)
#if defined(HAVE_LIBCURL) && defined(ENABLE_CITUS_STATISTICS_COLLECTION)
true,
#else
false,

View File

@ -14,7 +14,11 @@
#include "fmgr.h"
#include "utils/uuid.h"
#if defined(HAVE_LIBCURL) && defined(ENABLE_CITUS_STATISTICS_COLLECTION)
bool EnableStatisticsCollection = true; /* send basic usage statistics to Citus */
#else
bool EnableStatisticsCollection = false;
#endif
PG_FUNCTION_INFO_V1(citus_server_id);