til
til copied to clipboard
Retention policy with timescale
SELECT add_retention_policy('conditions', INTERVAL '24 hours');
https://www.timescale.com/blog/pg_partman-vs-hypertables-for-postgres-partitioning/