Re: truncating timestamps on arbitrary intervals
| От | John Naylor |
|---|---|
| Тема | Re: truncating timestamps on arbitrary intervals |
| Дата | |
| Msg-id | CAFBsxsHq9y0vkHjjT2ViOcmUZR6uo1ur+T1me01qOdG8WWHioQ@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: truncating timestamps on arbitrary intervals (Erik Rijkers <er@xs4all.nl>) |
| Список | 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 по дате отправления: