Postgresql delete old rows on a rolling basis? July 17, 2023 by Tarik delete from the_table where the_timestamp < now() - interval '7 days'