Tiger Cloud: Performance, Scale, Enterprise

Self-hosted products

MST

Remove all refresh policies from a continuous aggregate.

remove_continuous_aggregate_policy(
continuous_aggregate REGCLASS,
if_exists BOOL = NULL
) RETURNS VOID
Note

To view the existing continuous aggregate policies, see the policies informational view.

Remove all refresh policies from the cpu_view continuous aggregate:

SELECT remove_continuous_aggregate_policy('cpu_view');
NameTypeDescription
continuous_aggregateREGCLASSName of the continuous aggregate the policies should be removed from
NameTypeDescription
if_exists (formerly if_not_exists)BOOLWhen true, prints a warning instead of erroring if the policy doesn't exist. Defaults to false. Renamed in TimescaleDB 2.8.

Keywords

Found an issue on this page?Report an issue or Edit this page in GitHub.