From: Bruce Momjian Date: Wed, 15 Aug 2012 20:03:58 +0000 (-0400) Subject: Document why you can't use date_trunc("week") on intervals. X-Git-Tag: REL9_3_BETA1~1089 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=74f4881d7cc9c69cb0e0b236f06d1ebf9859a737;p=postgresql Document why you can't use date_trunc("week") on intervals. --- diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index d5ad4718b1..5d0c71a8b9 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -7050,6 +7050,11 @@ date_trunc('field', source + + week is not supported for interval + values because months usually have fractional weeks. + + Examples: