summaryrefslogtreecommitdiff
path: root/doc/src/sgml/xaggr.sgml
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:34:08 -0400
commit03f957fe1dffff10b7950bac75929be17fad87ee (patch)
tree89cf7f7aa9eab57b995c61464c9ae1699b7fb4d1 /doc/src/sgml/xaggr.sgml
parentcf73547075f3632da3beef345eb50646bf142edf (diff)
downloadpostgresql-03f957fe1dffff10b7950bac75929be17fad87ee.tar.gz
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/sgml/xaggr.sgml')
-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 dce8d8f1ca..15ef46cc1e 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>