projects
/
users
/
hanada
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab6657e
)
Fix ancient typo in user-defined-aggregates documentation.
author
Tom Lane
<
[email protected]
>
Wed, 23 Mar 2011 16:33:14 +0000
(12:33 -0400)
committer
Tom Lane
<
[email protected]
>
Wed, 23 Mar 2011 16:33:57 +0000
(12:33 -0400)
The description of the initcond value for the built-in avg(float8)
aggregate has been wrong since it was written. Noted by Disc Magnet.
doc/src/sgml/xaggr.sgml
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/xaggr.sgml
b/doc/src/sgml/xaggr.sgml
index 1175b3640d70977fcc892c0737ae39bcd0c35473..6a8e35e452d3b894cc508e9d5df4b2c12fb92704 100644
(file)
--- 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>