Postgresql – Postgres split time ranges into 1 minute slots, without rounding boundaries
I have a postgres table with timestamp columns: start_datetime end_datetime duration id 2021-10-17 03:13:00 2021-10-17 03:15:02 302 6214550 2021-10-17 03:15:02 2021-10-17 03:17:03 4,021 6214551 which i need to split out in to buckets constrained to either the end of the…