1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

On second thought, explain why date_trunc("week") on interval values is

not supported in the error message, rather than the docs.
This commit is contained in:
Bruce Momjian
2012-08-15 16:48:05 -04:00
parent 74f4881d7c
commit 083b9133aa
2 changed files with 11 additions and 9 deletions

View File

@ -7050,11 +7050,6 @@ 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>