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
This commit is contained in:
Tom Lane 2017-05-11 18:09:22 -04:00
parent 128e133cc6
commit 4d4cdc5065

View File

@ -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>