1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-21 15:54:08 +03:00

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 596a7c8df7
commit efa2c18f4e

View File

@ -996,7 +996,7 @@
</indexterm> </indexterm>
<literal><function>scale(<type>numeric</type>)</function></literal> <literal><function>scale(<type>numeric</type>)</function></literal>
</entry> </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>scale of the argument (the number of decimal digits in the fractional part)</entry>
<entry><literal>scale(8.41)</literal></entry> <entry><literal>scale(8.41)</literal></entry>
<entry><literal>2</literal></entry> <entry><literal>2</literal></entry>