]> granicus.if.org Git - postgresql/commitdiff
Update for NUMERIC/DECIMAL data type.
authorBruce Momjian <bruce@momjian.us>
Wed, 13 Oct 1999 02:44:23 +0000 (02:44 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 13 Oct 1999 02:44:23 +0000 (02:44 +0000)
doc/src/sgml/datatype.sgml

index d0d4d27c219df17d8eecad5f2a2026b8f113e97b..44dfabaa28d07702f9b715cf6d3d8010c7543256 100644 (file)
        <entry>date</entry>
        <entry>calendar date without time of day</entry>
       </row>
+      <row>
+       <entry>decimal</entry>
+       <entry>decimal(p,s)</entry>
+       <entry>exact numeric for p <= 9, s = 0</entry>
+      </row>
       <row>
        <entry>float4/8</entry>
        <entry>float(p)</entry>
        <entry>int, integer</entry>
        <entry>signed 4-byte integer</entry>
       </row>
-      <row>
-       <entry>int4</entry>
-       <entry>decimal(p,s)</entry>
-       <entry>exact numeric for p <= 9, s = 0</entry>
-      </row>
-      <row>
-       <entry>int4</entry>
-       <entry>numeric(p,s)</entry>
-       <entry>exact numeric for p == 9, s = 0</entry>
-      </row>
       <row>
        <entry>int8</entry>
        <entry></entry>
        <entry>decimal(9,2)</entry>
        <entry>US-style currency</entry>
       </row>
+      <row>
+       <entry>numeric</entry>
+       <entry>numeric(p,s)</entry>
+       <entry>exact numeric for p == 9, s = 0</entry>
+      </row>
       <row>
        <entry>path</entry>
        <entry></entry>
        </row>
       </thead>
       <tbody>
+       <row>
+       <entry>decimal</entry>
+       <entry>variable</entry>
+       <entry>User-specified precision</entry>
+       <entry>no limit</entry>
+       </row>
        <row>
        <entry>float4</entry>
        <entry>4 bytes</entry>
        <entry>Very large range fixed-precision</entry>
        <entry>+/- &gt; 18 decimal places</entry>
        </row>
+       <row>
+       <entry>numeric</entry>
+       <entry>variable</entry>
+       <entry>User-specified precision</entry>
+       <entry>no limit</entry>
+       </row>
        <row>
        <entry>serial</entry>
        <entry>4 bytes</entry>