Skip to content

Commit efa2c18

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 596a7c8 commit efa2c18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/func.sgml

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