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

Commit 4d4cdc5

Browse files
committed
Doc fix: scale(numeric) returns integer, not numeric.
Thinko in commit abb1733, which introduced this function. Report: https://postgr.es/m/20170511215234.1795.54347@wrigleys.postgresql.org
1 parent 128e133 commit 4d4cdc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/func.sgml

+1-1
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@
996996
</indexterm>
997997
<literal><function>scale(<type>numeric</type>)</function></literal>
998998
</entry>
999-
<entry><type>numeric</type></entry>
999+
<entry><type>integer</type></entry>
10001000
<entry>scale of the argument (the number of decimal digits in the fractional part)</entry>
10011001
<entry><literal>scale(8.41)</literal></entry>
10021002
<entry><literal>2</literal></entry>

0 commit comments

Comments
 (0)