Re: truncating timestamps on arbitrary intervals

From: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
To: John Naylor <john(dot)naylor(at)enterprisedb(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: truncating timestamps on arbitrary intervals
Date: 2021-03-24 19:50:59
Message-ID: 44d806d3-202c-ea08-5f5d-21528a98f717@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 24.03.21 18:58, John Naylor wrote:
> > As a potential follow-up, should we perhaps add named arguments?  That
> > might make the invocations easier to read, depending on taste.
>
> I think it's quite possible some users will prefer that. All we need is
> to add something like
>
> proargnames => '{bin_width,input,origin}'
>
> to the catalog, right?

right, plus some documentation adjustments perhaps

> Also, I noticed that I put in double semicolons in the new functions
> somehow. I'll fix that as well.

I have fixed that.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim Finnerty 2021-03-24 20:41:38 Re: insensitive collations
Previous Message Alvaro Herrera 2021-03-24 19:50:24 Re: PoC/WIP: Extended statistics on expressions