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

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy