Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit e3dd494

Browse files
committed
Update for NUMERIC/DECIMAL data type.
1 parent 7ee7ee1 commit e3dd494

File tree

1 file changed

+22
-10
lines changed

1 file changed

+22
-10
lines changed

doc/src/sgml/datatype.sgml

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,11 @@
7474
<entry>date</entry>
7575
<entry>calendar date without time of day</entry>
7676
</row>
77+
<row>
78+
<entry>decimal</entry>
79+
<entry>decimal(p,s)</entry>
80+
<entry>exact numeric for p <= 9, s = 0</entry>
81+
</row>
7782
<row>
7883
<entry>float4/8</entry>
7984
<entry>float(p)</entry>
@@ -99,16 +104,6 @@
99104
<entry>int, integer</entry>
100105
<entry>signed 4-byte integer</entry>
101106
</row>
102-
<row>
103-
<entry>int4</entry>
104-
<entry>decimal(p,s)</entry>
105-
<entry>exact numeric for p <= 9, s = 0</entry>
106-
</row>
107-
<row>
108-
<entry>int4</entry>
109-
<entry>numeric(p,s)</entry>
110-
<entry>exact numeric for p == 9, s = 0</entry>
111-
</row>
112107
<row>
113108
<entry>int8</entry>
114109
<entry></entry>
@@ -129,6 +124,11 @@
129124
<entry>decimal(9,2)</entry>
130125
<entry>US-style currency</entry>
131126
</row>
127+
<row>
128+
<entry>numeric</entry>
129+
<entry>numeric(p,s)</entry>
130+
<entry>exact numeric for p == 9, s = 0</entry>
131+
</row>
132132
<row>
133133
<entry>path</entry>
134134
<entry></entry>
@@ -282,6 +282,12 @@
282282
</row>
283283
</thead>
284284
<tbody>
285+
<row>
286+
<entry>decimal</entry>
287+
<entry>variable</entry>
288+
<entry>User-specified precision</entry>
289+
<entry>no limit</entry>
290+
</row>
285291
<row>
286292
<entry>float4</entry>
287293
<entry>4 bytes</entry>
@@ -312,6 +318,12 @@
312318
<entry>Very large range fixed-precision</entry>
313319
<entry>+/- &gt; 18 decimal places</entry>
314320
</row>
321+
<row>
322+
<entry>numeric</entry>
323+
<entry>variable</entry>
324+
<entry>User-specified precision</entry>
325+
<entry>no limit</entry>
326+
</row>
315327
<row>
316328
<entry>serial</entry>
317329
<entry>4 bytes</entry>

0 commit comments

Comments
 (0)