Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
cabf5d84
Commit
cabf5d84
authored
Apr 03, 2011
by
Robert Haas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve documentation on the range of the numeric data type.
Gianni Ciolli, reviewed by Noah Misch
parent
1981fb73
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
doc/src/sgml/datatype.sgml
doc/src/sgml/datatype.sgml
+13
-4
No files found.
doc/src/sgml/datatype.sgml
View file @
cabf5d84
...
...
@@ -346,13 +346,13 @@
<entry><type>decimal</></entry>
<entry>variable</entry>
<entry>user-specified precision, exact</entry>
<entry>
no limi
t</entry>
<entry>
up to 131072 digits before the decimal point; up to 16383 digits after the decimal poin
t</entry>
</row>
<row>
<entry><type>numeric</></entry>
<entry>variable</entry>
<entry>user-specified precision, exact</entry>
<entry>
no limi
t</entry>
<entry>
up to 131072 digits before the decimal point; up to 16383 digits after the decimal poin
t</entry>
</row>
<row>
...
...
@@ -476,8 +476,8 @@
</indexterm>
<para>
The type <type>numeric</type> can store numbers with
up to 1000
digits of precision
and perform calculations exactly. It is
The type <type>numeric</type> can store numbers with
a
very large number of digits
and perform calculations exactly. It is
especially recommended for storing monetary amounts and other
quantities where exactness is required. However, arithmetic on
<type>numeric</type> values is very slow compared to the integer
...
...
@@ -525,6 +525,15 @@ NUMERIC
explicitly.)
</para>
<note>
<para>
The maximum allowed precision when explicitely specified in the
type declaration is 1000; otherwise the current implementation
of the <type>NUMERIC</type> is subject to the limits described
in <xref linkend="datatype-numeric-table">.
</para>
</note>
<para>
If the scale of a value to be stored is greater than the declared
scale of the column, the system will round the value to the specified
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment