postgres.git / summary / log / commit / refs
commit 03f957fe1dffff10b7950bac75929be17fad87ee
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Wed Mar 23 16:33:14 2011 +0000
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 dce8d8f1caa..15ef46cc1e7 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}'
);
</programlisting>
</para>
[parent: cf73547075f3]