]> granicus.if.org Git - postgresql/commitdiff
Doc fix: scale(numeric) returns integer, not numeric.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 11 May 2017 22:09:22 +0000 (18:09 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 11 May 2017 22:09:28 +0000 (18:09 -0400)
Thinko in commit abb173392, which introduced this function.

Report: https://postgr.es/m/20170511215234.1795.54347@wrigleys.postgresql.org

doc/src/sgml/func.sgml

index ca4aa51df665ba963bb937cde874f00def97ccbd..12bbc391e0e4d2774af20037ff5e8ce80683706e 100644 (file)
         </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>