Skip to content

Commit b84a801

Browse files
committed
doc: adjust PG 12 relnotes item on float digit adjustment
Discussion: https://postgr.es/m/87y330d8ty.fsf@news-spur.riddles.org.uk
1 parent 0fca828 commit b84a801

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

doc/src/sgml/release-12.sgml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -207,18 +207,16 @@ Author: Andrew Gierth <rhodiumtoad@postgresql.org>
207207
-->
208208

209209
<para>
210-
Avoid performing unnecessary rounding of <link
211-
linkend="datatype-float"><type>REAL</type></link> and <type>DOUBLE
212-
PRECISION</type> values (Andrew Gierth)
210+
Improve performance by changing the default number of trailing digits
211+
output for <link linkend="datatype-float"><type>REAL</type></link>
212+
and <type>DOUBLE PRECISION</type> values (Andrew Gierth)
213213
</para>
214214

215215
<para>
216-
This dramatically speeds up processing of floating-point
217-
values but causes additional trailing digits to
218-
potentially be displayed. Users wishing to have output
219-
that is rounded to match the previous behavior can set <link
220-
linkend="guc-extra-float-digits"><literal>extra_float_digits=0</literal></link>,
221-
which is no longer the default.
216+
Previously, float values were output rounded to 6 or 15 decimals
217+
by default. Now, only the number of digits required to preserve
218+
the exact binary value is output. The previous behavior can be
219+
restored by setting <xref linkend="guc-extra-float-digits"/> to zero.
222220
</para>
223221
</listitem>
224222

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy