Since we've upgraded to timescale 0.20.2, our schema dumps no longer contain the refresh policies for our aggregates.
Also, Timescaledb::ContinuousAggregates.all.map { |a| a.jobs.refresh_continuous_aggregate } just returns a bunch of empty lists.
The query spawned by that is
SELECT "timescaledb_information"."jobs".* FROM "timescaledb_information"."jobs" WHERE "timescaledb_information"."jobs"."hypertable_name" = '_materialized_hypertable_8' AND "timescaledb_information"."jobs"."proc_name" = 'policy_refresh_continuous_aggregate';
However, if I instead query
SELECT "timescaledb_information"."jobs".* FROM "timescaledb_information"."jobs" WHERE proc_name = 'policy_refresh_continuous_aggregate';
I do get the jobs. The hypertable_name column contains the exact name of the aggregate though, not _materialized_hypertable_8.