Re: Ryu floating point output patch - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Ryu floating point output patch
Date
Msg-id CA+TgmoaMioM1OVwkY1z7h3xkPn5nPHSYwhD1kt607ZKXCWeOAQ@mail.gmail.com
Whole thread Raw
In response to Re: Ryu floating point output patch  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Fri, Jan 11, 2019 at 1:40 PM Andres Freund <andres@anarazel.de> wrote:
> It'd potentially change data between an non-ryu->{ryu,non-ryu} and
> ryu->ryu versions, for dumps that didn't specify extra_float_digits =
> 3. But that'd not be pg_dump, and already broken previously, so I don't
> have particularly much sympathy?

Agreed.

> And of course it'd change the dump's text contents between ryu and
> non-ryu backends even with extra_float_digits = 3, but the resulting
> floats ought to be the same. It's just that ryu is better at figuring
> out what the minimal text representation is than the current code.

wfm.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Ryu floating point output patch
Next
From: David Fetter
Date:
Subject: Re: Early WIP/PoC for inlining CTEs