Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ba7d020

Browse files
committed
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.
1 parent 19584ec commit ba7d020

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/xaggr.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ CREATE AGGREGATE avg (float8)
106106
sfunc = float8_accum,
107107
stype = float8[],
108108
finalfunc = float8_avg,
109-
initcond = '{0,0}'
109+
initcond = '{0,0,0}'
110110
);
111111
</programlisting>
112112
</para>

0 commit comments

Comments
 (0)