Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitdd5b3f8

Browse files
committed
Documentation fix: sum(float4) returns float4, not float8.
The old claim is from my commitd06ebdb of2000-07-17, but it seems to have been a plain old thinko; sum(float4) hasbeen distinct from sum(float8) since Berkeley days. Noted by KaiGai Kohei.While at it, mention the existence of sum(money), which is also ofembarrassingly ancient vintage.
1 parent857a5d6 commitdd5b3f8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9952,14 +9952,13 @@ SELECT NULLIF(value, '(none)') ...
99529952
<entry>
99539953
<type>smallint</type>, <type>int</type>,
99549954
<type>bigint</type>, <type>real</type>, <type>double
9955-
precision</type>, <type>numeric</type>, or
9956-
<type>interval</type>
9955+
precision</type>, <type>numeric</type>,
9956+
<type>interval</type>, or <type>money</>
99579957
</entry>
99589958
<entry>
99599959
<type>bigint</type> for <type>smallint</type> or
99609960
<type>int</type> arguments, <type>numeric</type> for
9961-
<type>bigint</type> arguments, <type>double precision</type>
9962-
for floating-point arguments, otherwise the same as the
9961+
<type>bigint</type> arguments, otherwise the same as the
99639962
argument data type
99649963
</entry>
99659964
<entry>sum of <replaceable class="parameter">expression</replaceable> across all input values</entry>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp