Commit 74f4881d authored by Bruce Momjian's avatar Bruce Momjian

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

parent 1d9a6ae8
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment