Commit b84a801d authored by Bruce Momjian's avatar Bruce Momjian

doc: adjust PG 12 relnotes item on float digit adjustment

Discussion: https://postgr.es/m/87y330d8ty.fsf@news-spur.riddles.org.uk
parent 0fca8285
...@@ -207,18 +207,16 @@ Author: Andrew Gierth <rhodiumtoad@postgresql.org> ...@@ -207,18 +207,16 @@ Author: Andrew Gierth <rhodiumtoad@postgresql.org>
--> -->
<para> <para>
Avoid performing unnecessary rounding of <link Improve performance by changing the default number of trailing digits
linkend="datatype-float"><type>REAL</type></link> and <type>DOUBLE output for <link linkend="datatype-float"><type>REAL</type></link>
PRECISION</type> values (Andrew Gierth) and <type>DOUBLE PRECISION</type> values (Andrew Gierth)
</para> </para>
<para> <para>
This dramatically speeds up processing of floating-point Previously, float values were output rounded to 6 or 15 decimals
values but causes additional trailing digits to by default. Now, only the number of digits required to preserve
potentially be displayed. Users wishing to have output the exact binary value is output. The previous behavior can be
that is rounded to match the previous behavior can set <link restored by setting <xref linkend="guc-extra-float-digits"/> to zero.
linkend="guc-extra-float-digits"><literal>extra_float_digits=0</literal></link>,
which is no longer the default.
</para> </para>
</listitem> </listitem>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment