From: Tom Lane Date: Wed, 23 Mar 2011 16:33:14 +0000 (-0400) Subject: Fix ancient typo in user-defined-aggregates documentation. X-Git-Tag: REL9_1_ALPHA5~28 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ba7d020d9d6edba872173f8640ca240e00ae7070;p=postgresql 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. --- diff --git a/doc/src/sgml/xaggr.sgml b/doc/src/sgml/xaggr.sgml index c9b9b56a0c..9fc0722f45 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}' );