Remove function ts_number_of_continuous_aggs

This commit removes the unused function ts_number_of_continuous_aggs.
This commit is contained in:
Jan Nidzwetzki 2024-02-12 20:20:54 +01:00 committed by Jan Nidzwetzki
parent 916e14e9f6
commit 90d6121c29
2 changed files with 0 additions and 13 deletions

View File

@ -1225,17 +1225,6 @@ ts_continuous_agg_rename_view(const char *old_schema, const char *old_name, cons
ts_scanner_scan(&scanctx);
}
TSDLLEXPORT int32
ts_number_of_continuous_aggs()
{
int32 count = 0;
ScanIterator iterator =
ts_scan_iterator_create(CONTINUOUS_AGG, AccessShareLock, CurrentMemoryContext);
ts_scanner_foreach(&iterator) { count++; }
return count;
}
static int32
find_raw_hypertable_for_materialization(int32 mat_hypertable_id)
{

View File

@ -184,8 +184,6 @@ extern TSDLLEXPORT void ts_continuous_agg_rename_view(const char *old_schema, co
const char *new_schema, const char *new_name,
ObjectType *object_type);
extern TSDLLEXPORT int32 ts_number_of_continuous_aggs(void);
extern TSDLLEXPORT const Dimension *
ts_continuous_agg_find_integer_now_func_by_materialization_id(int32 mat_htid);
extern ContinuousAgg *ts_continuous_agg_find_userview_name(const char *schema, const char *name);