From efa2c18f4e8a8ccc74d9005d960f4c1a2bf05ea9 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(-)
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 4b9a54c0c9e..e462fdcd595 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