projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
128e133
)
Doc fix: scale(numeric) returns integer, not numeric.
author
Tom Lane
<
[email protected]
>
Thu, 11 May 2017 22:09:22 +0000
(18:09 -0400)
committer
Tom Lane
<
[email protected]
>
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
patch
|
blob
|
blame
|
history
diff --git
a/doc/src/sgml/func.sgml
b/doc/src/sgml/func.sgml
index ca4aa51df665ba963bb937cde874f00def97ccbd..12bbc391e0e4d2774af20037ff5e8ce80683706e 100644
(file)
--- a/
doc/src/sgml/func.sgml
+++ b/
doc/src/sgml/func.sgml
@@
-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>