Mention extra_float_digits in floating point docs
authorAlvaro Herrera
Tue, 2 Jul 2013 16:21:16 +0000 (12:21 -0400)
committerAlvaro Herrera
Tue, 2 Jul 2013 17:12:52 +0000 (13:12 -0400)
Make it easier for readers of the FP docs to find out about possibly
truncated values.

Per complaint from Tom Duffey in message
F0E0F874-C86F-48D1-AA2A-0C5365BF5118@trillitech.com

Author: Albe Laurenz
Reviewed by: Abhijit Menon-Sen

doc/src/sgml/config.sgml
doc/src/sgml/datatype.sgml

index 940ed6ef58b8fd8794ae00674e3f2fc7a2d5b9f5..437dbb7711c712a656d01fef6bb883e712f04db9 100644 (file)
@@ -5366,6 +5366,7 @@ SET XML OPTION { DOCUMENT | CONTENT };
         partially-significant digits; this is especially useful for dumping
         float data that needs to be restored exactly.  Or it can be set
         negative to suppress unwanted digits.
+        See also .
        
       
      
index f73e6b2e3a5ba0232c3e280464c36978f7d03421..87668ea0c1c9f41872cc9fdf318baf16d361145c 100644 (file)
@@ -681,6 +681,17 @@ NUMERIC
      from zero will cause an underflow error.
     
 
+    
+     
+      The  setting controls the
+      number of extra significant digits included when a floating point
+      value is converted to text for output.  With the default value of
+      0, the output is the same on every platform
+      supported by PostgreSQL.  Increasing it will produce output that
+      more accurately represents the stored value, but may be unportable.
+     
+    
+
     
      not a number
      double precision