diff --git a/api/add_policies.md b/api/add_policies.md index 282b526e26..6eff923990 100644 --- a/api/add_policies.md +++ b/api/add_policies.md @@ -31,6 +31,12 @@ timescaledb_experimental.add_policies( + +`add_policies()` does not allow the `schedule_interval` for the continuous aggregate to be set, instead using a default value of 1 hour. + +If you would like to set this add your policies manually (see [`add_continuous_aggregate_policy`][add_continuous_aggregate_policy]). + + ## Required arguments |Name|Type|Description| @@ -74,3 +80,6 @@ SELECT timescaledb_experimental.add_policies( drop_after => '1 year'::interval ); ``` + +[add_continuous_aggregate_policy]: /api/:currentVersion/continuous-aggregates/add_continuous_aggregate_policy/ +