From 4d4cdc5065d3a5396c455af3d90b48c2be687319 Mon Sep 17 00:00:00 2001
From: Tom Lane
Date: Thu, 11 May 2017 18:09:22 -0400
Subject: 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
---
doc/src/sgml/func.sgml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'doc/src')
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index ca4aa51df66..12bbc391e0e 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -996,7 +996,7 @@
scale(numeric)
- numeric
+ integer
scale of the argument (the number of decimal digits in the fractional part)
scale(8.41)
2
--
cgit v1.2.3