From: Tom Lane Date: Sun, 1 May 2005 15:54:46 +0000 (+0000) Subject: Mention the actual stored size of NUMERIC values, per David Fetter. X-Git-Tag: REL8_1_0BETA1~889 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=768eaf14163fb89d4c2b395cbf4a5eb016d0c0b3;p=postgresql Mention the actual stored size of NUMERIC values, per David Fetter. --- diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml index 5ca2ab2f61..06183ec9e7 100644 --- a/doc/src/sgml/datatype.sgml +++ b/doc/src/sgml/datatype.sgml @@ -1,5 +1,5 @@ @@ -505,7 +505,9 @@ NUMERIC trailing zeroes. Thus, the declared precision and scale of a column are maximums, not fixed allocations. (In this sense the numeric type is more akin to varchar(n) - than to char(n).) + than to char(n).) The actual storage + requirement is two bytes for each group of four decimal digits, + plus eight bytes overhead.