Doc fix: scale(numeric) returns integer, not numeric.
authorTom Lane
Thu, 11 May 2017 22:09:22 +0000 (18:09 -0400)
committerTom Lane
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[email protected]

doc/src/sgml/func.sgml

index ca4aa51df665ba963bb937cde874f00def97ccbd..12bbc391e0e4d2774af20037ff5e8ce80683706e 100644 (file)
         
         scale(numeric)
        
-       numeric
+       integer
        scale of the argument (the number of decimal digits in the fractional part)
        scale(8.41)
        2