remove_retention_policy()
Community
Remove a policy to drop chunks of a particular hypertable.
Required Arguments
Name | Type | Description |
---|---|---|
relation | REGCLASS | Name of the hypertable or continuous aggregate from which to remove the policy |
Optional Arguments
Name | Type | Description |
---|---|---|
if_exists | BOOLEAN | Set to true to avoid throwing an error if the policy does not exist. Defaults to false. |
Sample Usage
SELECT remove_retention_policy('conditions');
Removes the existing data retention policy for the conditions
table.
当前内容版权归 TimescaleDB 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 TimescaleDB .