doc: Fix typos
authorPeter Eisentraut
Fri, 23 Apr 2021 07:28:44 +0000 (09:28 +0200)
committerPeter Eisentraut
Fri, 23 Apr 2021 07:28:44 +0000 (09:28 +0200)
Author: Justin Pryzby 

doc/src/sgml/func.sgml

index 5bba13973f3d1bdb73f016b03e7b1d236f4b8a94..cc8415689b0c019069e53e3db0a6b6ea8b670100 100644 (file)
@@ -9946,13 +9946,13 @@ SELECT date_trunc('hour', INTERVAL '3 days 02:47:33');
 
    
 
-date_trunc(stridesourceorigin)
+date_bin(stridesourceorigin)
 
     source is a value expression of type
     timestamp or timestamp with time zone.  (Values
     of type date are cast automatically to
     timestamp.)  stride is a value
-    expression of type  interval.  The return value is likewise
+    expression of type interval.  The return value is likewise
     of type timestamp or timestamp with time zone,
     and it marks the beginning of the bin into which the
     source is placed.