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

From John Naylor
Subject Re: truncating timestamps on arbitrary intervals
Date
Msg-id CAFBsxsHq9y0vkHjjT2ViOcmUZR6uo1ur+T1me01qOdG8WWHioQ@mail.gmail.com
Whole thread Raw
In response to Re: truncating timestamps on arbitrary intervals  (Erik Rijkers <er@xs4all.nl>)
List pgsql-hackers


On Wed, Mar 24, 2021 at 1:25 PM Erik Rijkers <er@xs4all.nl> wrote:
>
> 'In cases full units' seems strange.
>
> Not a native speaker but maybe the attached changes are improvements?

-    In cases full units (1 minute, 1 hour, etc.), it gives the same result as
+    In case of full units (1 minute, 1 hour, etc.), it gives the same result as
     the analogous <function>date_trunc</function> call, but the difference is
     that <function>date_bin</function> can truncate to an arbitrary interval.
    </para>
 
I would say "In the case of"

    <para>
-    The <parameter>stride</parameter> interval cannot contain units of month
+    The <parameter>stride</parameter> interval cannot contain units of a month
     or larger.

The original seems fine to me here.

--
John Naylor
EDB: http://www.enterprisedb.com

pgsql-hackers by date:

Previous
From: John Naylor
Date:
Subject: Re: truncating timestamps on arbitrary intervals
Next
From: Stephen Frost
Date:
Subject: Re: Support for NSS as a libpq TLS backend