From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Andres Freund <andres@anarazel.de>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: PG 12 draft release notes
Date: Tue, 21 May 2019 00:08:25 +0100
Message-ID: <87y330d8ty.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <20190520225903.jrdv3p3qmyseczit@alap3.anarazel.de>
References: <20190511203324.ktzqamguexyg3hx3@momjian.us>
<20190520221719.pqgld3krjc2docr5@alap3.anarazel.de>
<875zq4epjh.fsf@news-spur.riddles.org.uk>
<20190520225903.jrdv3p3qmyseczit@alap3.anarazel.de>
>>>>> "Andres" == Andres Freund <andres@anarazel.de> writes:
Andres> Any chance for you to propose a text?
This is what I posted before; I'm not 100% happy with it but it's still
better than any of the other versions:
* Output REAL and DOUBLE PRECISION values in shortest-exact format by
default, and change the behavior of extra_float_digits
Previously, float values were output rounded to 6 or 15 decimals by
default, with the number of decimals adjusted by extra_float_digits.
The previous rounding behavior is no longer the default, and is now
done only if extra_float_digits is set to zero or less; if the value
is greater than zero (which it is by default), a shortest-precise
representation is output (for a substantial performance improvement).
This representation preserves the exact binary value when correctly
read back in, even though the trailing digits will usually differ
from the output generated by previous versions when
extra_float_digits=3.
--
Andrew (irc:RhodiumToad)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: andrew@tao11.riddles.org.uk, andres@anarazel.de, bruce@momjian.us
Subject: Re: PG 12 draft release notes
In-Reply-To: <87y330d8ty.fsf@news-spur.riddles.org.uk>
References: <20190511203324.ktzqamguexyg3hx3@momjian.us> <20190520221719.pqgld3krjc2docr5@alap3.anarazel.de> <875zq4epjh.fsf@news-spur.riddles.org.uk> <20190520225903.jrdv3p3qmyseczit@alap3.anarazel.de> <87y330d8ty.fsf@news-spur.riddles.org.uk>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox