Skip to content

Commit

Permalink
Add schedule_interval param in add_retention_policy (#2669)
Browse files Browse the repository at this point in the history
  • Loading branch information
nakaakist authored Sep 4, 2023
1 parent d7d6b85 commit a8c7952
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/add_retention_policy.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ exist per hypertable.
|-|-|-|
|`relation`|REGCLASS|Name of the hypertable or continuous aggregate to create the policy for|
|`drop_after`|INTERVAL or INTEGER|Chunks fully older than this interval when the policy is run are dropped|
|`schedule_interval`|INTERVAL|The interval between the finish time of the last execution and the next start. Defaults to NULL.|
|`initial_start`|TIMESTAMPTZ|Time the policy is first run. Defaults to NULL. If omitted, then the schedule interval is the interval between the finish time of the last execution and the next start. If provided, it serves as the origin with respect to which the next_start is calculated.|
|`timezone`|TEXT|A valid time zone. If `initial_start` is also specified, subsequent executions of the retention policy are aligned on its initial start. However, daylight savings time (DST) changes may shift this alignment. Set to a valid time zone if this is an issue you want to mitigate. If omitted, UTC bucketing is performed. Defaults to `NULL`.|

Expand Down

0 comments on commit a8c7952

Please sign in to comment.