Add timescale_analytics to telemetry

Much like the promscale before it, this will allow us to track usage of
the timescale_analytics extension.
This commit is contained in:
Joshua Lockerman 2021-03-03 11:27:34 -05:00 committed by JLockerman
parent 152bebe027
commit f0675be2e2

View File

@ -71,6 +71,7 @@
#define PG_PROMETHEUS "pg_prometheus"
#define PROMSCALE "promscale"
#define POSTGIS "postgis"
#define TIMESCALE_ANALYTICS "timescale_analytics"
#define REQ_COMPRESSED_HEAP_SIZE "compressed_heap_size"
#define REQ_COMPRESSED_INDEX_SIZE "compressed_index_size"
@ -81,7 +82,12 @@
#define TS_TELEMETRY_REPORT_OVERRIDE_ARG "always_display_report := true"
static const char *related_extensions[] = { PG_PROMETHEUS, PROMSCALE, POSTGIS };
static const char *related_extensions[] = {
PG_PROMETHEUS,
PROMSCALE,
POSTGIS,
TIMESCALE_ANALYTICS,
};
static bool
char_in_valid_version_digits(const char c)