Document why you can't use date_trunc("week") on intervals.

This commit is contained in:
Bruce Momjian 2012-08-15 16:03:58 -04:00
parent 1d9a6ae855
commit 74f4881d7c
1 changed files with 5 additions and 0 deletions

View File

@ -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>