postgres.git / summary / log / commit / refs

commit    efa2c18f4e8a8ccc74d9005d960f4c1a2bf05ea9
Author:   Tom Lane <tgl@sss.pgh.pa.us>
Date:     Thu May 11 22:09:22 2017 +0000

    Doc fix: scale(numeric) returns integer, not numeric.
    
    Thinko in commit abb173392, which introduced this function.
    
    Report: https://postgr.es/m/20170511215234.1795.54347@wrigleys.postgresql.org


doc/src/sgml/func.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 4b9a54c0c9e..e462fdcd595 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -996,7 +996,7 @@ </indexterm> <literal><function>scale(<type>numeric</type>)</function></literal> </entry> - <entry><type>numeric</type></entry> + <entry><type>integer</type></entry> <entry>scale of the argument (the number of decimal digits in the fractional part)</entry> <entry><literal>scale(8.41)</literal></entry> <entry><literal>2</literal></entry> [parent: 596a7c8df74e]