mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-21 08:29:39 +08:00
Document why you can't use date_trunc("week") on intervals.
This commit is contained in:
parent
1d9a6ae855
commit
74f4881d7c
@ -7050,6 +7050,11 @@ date_trunc('<replaceable>field</replaceable>', <replaceable>source</replaceable>
|
||||
</simplelist>
|
||||
</para>
|
||||
|
||||
<para>
|
||||
<literal>week</literal> is not supported for <type>interval</>
|
||||
values because months usually have fractional weeks.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Examples:
|
||||
<screen>
|
||||
|
Loading…
Reference in New Issue
Block a user