mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Document why you can't use date_trunc("week") on intervals.
This commit is contained in:
@ -7050,6 +7050,11 @@ date_trunc('<replaceable>field</replaceable>', <replaceable>source</replaceable>
|
|||||||
</simplelist>
|
</simplelist>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<para>
|
||||||
|
<literal>week</literal> is not supported for <type>interval</>
|
||||||
|
values because months usually have fractional weeks.
|
||||||
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Examples:
|
Examples:
|
||||||
<screen>
|
<screen>
|
||||||
|
Reference in New Issue
Block a user