aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2021-04-23 09:28:44 +0200
committerPeter Eisentraut <peter@eisentraut.org>2021-04-23 09:28:44 +0200
commit9bd563aa9f0694994a6640946a7ee3dc0431d507 (patch)
tree26347524ab8fb67d7967a7225c1355fb589ea0a9 /doc/src
parenteaec48b3c54eec222d64468b57af80ee4ddf76a9 (diff)
downloadpostgresql-9bd563aa9f0694994a6640946a7ee3dc0431d507.tar.gz
postgresql-9bd563aa9f0694994a6640946a7ee3dc0431d507.zip
doc: Fix typos
Author: Justin Pryzby <pryzby@telsasoft.com>
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/func.sgml4
1 files 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.