aboutsummaryrefslogtreecommitdiff
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:14 -0400
commitba7d020d9d6edba872173f8640ca240e00ae7070 (patch)
tree44a5ebff1454e1c5e957ec9b3c487b488066cefa
parent19584ec659678841ea3036336f960acbdae962a0 (diff)
downloadpostgresql-ba7d020d9d6edba872173f8640ca240e00ae7070.tar.gz
postgresql-ba7d020d9d6edba872173f8640ca240e00ae7070.zip
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.
-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 c9b9b56a0c9..9fc0722f454 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>