]> granicus.if.org Git - postgresql/commit
Documentation fix: sum(float4) returns float4, not float8.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 8 Sep 2014 02:40:41 +0000 (22:40 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 8 Sep 2014 02:41:00 +0000 (22:41 -0400)
commit4cadb8a560f589ae8840f25a80b1ba47a6957705
treedc722132dcb50cdc0a21eb6ff6fdc83f43d661d9
parent78b1228efeb5d2615f7e844cb4fe8ad8ff335e29
Documentation fix: sum(float4) returns float4, not float8.

The old claim is from my commit d06ebdb8d3425185d7e641d15e45908658a0177d of
2000-07-17, but it seems to have been a plain old thinko; sum(float4) has
been distinct from sum(float8) since Berkeley days.  Noted by KaiGai Kohei.

While at it, mention the existence of sum(money), which is also of
embarrassingly ancient vintage.
doc/src/sgml/func.sgml