Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb84a801

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 parent0fca828 commitb84a801

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 roundingof<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 numberoftrailing digits
211+
output for <linklinkend="datatype-float"><type>REAL</type></link>
212+
and <type>DOUBLEPRECISION</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)

[8]ページ先頭

©2009-2025 Movatter.jp