Postgresql – Count events with a cool-down period after each instance
In a Postgres DB I have entries for "events", associated with an id, and when they happened. I need to count them with a special rule. When an event happens the counter is incremented and for the next 14 days…