From 9ff44ce1573a602d49c046fae04ce883f55a1c69 Mon Sep 17 00:00:00 2001 From: James Sewell Date: Mon, 27 Nov 2023 14:40:36 +1300 Subject: [PATCH] Add note to call out schedule_interval default (#2844) * Add note to call out schedule_interval default * Appease Vale --- api/add_policies.md | 9 +++++++++ 1 file changed, 9 insertions(+) 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/ +