Re: truncating timestamps on arbitrary intervals - Mailing list pgsql-hackers

From John Naylor
Subject Re: truncating timestamps on arbitrary intervals
Date
Msg-id CAFBsxsEfTvBD4T_B1w7-eMNbe-xOn2SLuYLAJmd7pCu-htQo2Q@mail.gmail.com
Whole thread Raw
In response to Re: truncating timestamps on arbitrary intervals  (Salek Talangi <salek.talangi@googlemail.com>)
List 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

pgsql-hackers by date:

Previous
From: Bharath Rupireddy
Date:
Subject: Re: Support ALTER SUBSCRIPTION ... ADD/DROP PUBLICATION ... syntax
Next
From: "'alvherre@alvh.no-ip.org'"
Date:
Subject: Re: libpq debug log