projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d9a6ae
)
Document why you can't use date_trunc("week") on intervals.
author
Bruce Momjian
<bruce@momjian.us>
Wed, 15 Aug 2012 20:03:58 +0000
(16:03 -0400)
committer
Bruce Momjian
<bruce@momjian.us>
Wed, 15 Aug 2012 20:03:58 +0000
(16:03 -0400)
doc/src/sgml/func.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/func.sgml
b/doc/src/sgml/func.sgml
index d5ad4718b156b7bfce26f5047d62d7e4cce085e5..5d0c71a8b9f78584654ea8ced79e49681d3c80e8 100644
(file)
--- a/
doc/src/sgml/func.sgml
+++ b/
doc/src/sgml/func.sgml
@@
-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>