From e39d6db39b958381ed2892734d3176e2c9bb1b40 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 23 Mar 2011 12:33:14 -0400 Subject: [PATCH] Fix ancient typo in user-defined-aggregates documentation. The description of the initcond value for the built-in avg(float8) aggregate has been wrong since it was written. Noted by Disc Magnet. --- doc/src/sgml/xaggr.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/src/sgml/xaggr.sgml b/doc/src/sgml/xaggr.sgml index 1175b3640d..6a8e35e452 100644 --- a/doc/src/sgml/xaggr.sgml +++ b/doc/src/sgml/xaggr.sgml @@ -106,7 +106,7 @@ CREATE AGGREGATE avg (float8) sfunc = float8_accum, stype = float8[], finalfunc = float8_avg, - initcond = '{0,0}' + initcond = '{0,0,0}' ); -- 2.50.1