Commit efa2c18f authored by Tom Lane's avatar Tom Lane

Doc fix: scale(numeric) returns integer, not numeric.

Thinko in commit abb17339, which introduced this function.

Report: https://postgr.es/m/20170511215234.1795.54347@wrigleys.postgresql.org
parent 596a7c8d
...@@ -996,7 +996,7 @@ ...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment