diff --git a/doc/timeseries.md b/doc/timeseries.md index e12bbf4..43335e2 100644 --- a/doc/timeseries.md +++ b/doc/timeseries.md @@ -129,7 +129,6 @@ This list is somewhat ordered by likelihood of near-term delivery, or maybe diff - Assorted "analytic" functions frequently associated with time-series workloads - Periodic `REFRESH MATERIALIZED VIEW` — set schedules for background refresh of materialized views (useful for dashboarding, etc.) - Roll-off to `TABLESPACE` — as data ages, it will be moved into a specified table space - - Use of "tiered storage", i.e. moving older partitions to be stored in S3 rather than on-disk - Automatic `CLUSTER BY`/repack for non-live partitions - Migration tools — adapters for existing time-scale installations to ease migration and promote best practices in new table configuration - "Approximate" functions — maintain statistics within known error bounds without rescanning all data diff --git a/sql/timeseries.sql b/sql/timeseries.sql index d6233a9..b8911dc 100644 --- a/sql/timeseries.sql +++ b/sql/timeseries.sql @@ -650,6 +650,9 @@ DECLARE old_client_msg text; old_log_msg text; BEGIN + -- check that target_view_id is actually a view + -- check that target_view_id mentions only one table + -- get the original SQL definition of the view to be upgraded SELECT pg_get_viewdef(target_view_id) INTO orig_view_sql; diff --git a/timeseries.control b/timeseries.control index 45bd8c7..2119191 100644 --- a/timeseries.control +++ b/timeseries.control @@ -2,4 +2,4 @@ comment = 'Convenience API for Tembo time series stack' default_version = '0.1.5' module_pathname = '$libdir/timeseries' -requires = 'columnar, pg_cron, pg_ivm, pg_partman' +requires = 'pg_cron, pg_ivm, pg_partman'