postgres.git / summary / log / commit / refs
commit 9bd563aa9f0694994a6640946a7ee3dc0431d507
Author: Peter Eisentraut <peter@eisentraut.org>
Date: Fri Apr 23 07:28:44 2021 +0000
First released in: 14.0
doc: Fix typos
Author: Justin Pryzby <pryzby@telsasoft.com>
doc/src/sgml/func.sgml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 5bba13973f3..cc8415689b0 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -9946,13 +9946,13 @@ SELECT date_trunc('hour', INTERVAL '3 days 02:47:33');
<para>
<synopsis>
-date_trunc(<replaceable>stride</replaceable>, <replaceable>source</replaceable>, <replaceable>origin</replaceable>)
+date_bin(<replaceable>stride</replaceable>, <replaceable>source</replaceable>, <replaceable>origin</replaceable>)
</synopsis>
<replaceable>source</replaceable> is a value expression of type
<type>timestamp</type> or <type>timestamp with time zone</type>. (Values
of type <type>date</type> are cast automatically to
<type>timestamp</type>.) <replaceable>stride</replaceable> is a value
- expression of type <type> interval</type>. The return value is likewise
+ expression of type <type>interval</type>. The return value is likewise
of type <type>timestamp</type> or <type>timestamp with time zone</type>,
and it marks the beginning of the bin into which the
<replaceable>source</replaceable> is placed.
[parent: eaec48b3c54e]