This is actually pretty straightforward. For example,
`DELETE FROM "foo" WHERE time >= now() - 2d AND time < now() - 1d`
`DELETE FROM "foo" WHERE time >= now() - 2d AND time < now() - 1d`
Recently my colegue was testing some script and added some huge numbers on metric that is used for one of those reports. We had to delete those tests as customer complained that now his total invoice number jumped to trillions.
While it is indeed a rare occurence, it is also very slow.