diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 3d0d55b47d6001427c7ebe5440a3c49bd7449bdf..f5b6868569e8c058f59f5c21fab58e21f04c127b 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -5244,6 +5244,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 <xref linkend="datatype-float">. </para> </listitem> </varlistentry> diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml index 7f6e661adb3af83e9fc67a7ba8d03d727b3e6d92..91d008c2975ce1c349b4ee250620b9297b76eaa9 100644 --- a/doc/src/sgml/datatype.sgml +++ b/doc/src/sgml/datatype.sgml @@ -691,6 +691,17 @@ NUMERIC from zero will cause an underflow error. </para> + <note> + <para> + The <xref linkend="guc-extra-float-digits"> 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 + <literal>0</literal>, 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. + </para> + </note> + <indexterm> <primary>not a number</primary> <secondary>double precision</secondary>