Re: truncating timestamps on arbitrary intervals
John Naylor <john.naylor@enterprisedb.com>
From: John Naylor <john.naylor@enterprisedb.com>
To: Salek Talangi <salek.talangi@googlemail.com>
Cc: Justin Pryzby <pryzby@telsasoft.com>, Peter Eisentraut <peter.eisentraut@enterprisedb.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2021-04-01T16:08:01Z
Lists: pgsql-hackers
On Thu, Apr 1, 2021 at 9:11 AM Salek Talangi <salek.talangi@googlemail.com> wrote: > > Hi all, > > it might be a bit late now, but do you know that TimescaleDB already has a similar feature, named time_bucket? > https://docs.timescale.com/latest/api#time_bucket > Perhaps that can help with some design decisions. Yes, thanks I'm aware of it. It's a bit more feature-rich, and I wanted to have something basic that users can have available without installing an extension. -- John Naylor EDB: http://www.enterprisedb.com
Commits
-
Disallow negative strides in date_bin()
- fc0d9b8c224f 14.0 landed
- 3ba70d4e1523 15.0 landed
-
Improve behavior of date_bin with origin in the future
- 496e58bb0e5e 14.0 landed
-
doc: Additional documentation for date_bin
- 49fb4e6b2490 14.0 landed
-
Add date_bin function
- 49ab61f0bdc9 14.0 landed