summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-03-23 12:33:14 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-03-23 12:33:57 -0400
commite39d6db39b958381ed2892734d3176e2c9bb1b40 (patch)
tree84dca97c4e804f5b60f2f7bb1b4df7f7ea9f203f /doc/src
parentab6657ea13236b3603c148bba98decc574476acd (diff)
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.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/xaggr.sgml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/xaggr.sgml b/doc/src/sgml/xaggr.sgml
index 1175b3640d7..6a8e35e452d 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>