Hacker News new | ask | show | jobs
by castorp 1637 days ago
Well for "counting buckets" you can use `date_bin()` since Postgres 14 which groups the difference between timestamps into defined intervals.