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

From Tom Lane
Subject Re: Ryu floating point output patch
Date
Msg-id 32382.1547236495@sss.pgh.pa.us
Whole thread Raw
In response to Re: Ryu floating point output patch  (Andres Freund <andres@anarazel.de>)
Responses Re: Ryu floating point output patch  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> 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.

I'm fairly concerned about this blithe assertion that the ryu code is
smarter than the rest of the world.  In particular, how does it know
how every strtod() on the planet will react to specific input?

            regards, tom lane


pgsql-hackers by date:

Previous
From: Mitar
Date:
Subject: Re: Feature: temporary materialized views
Next
From: Andres Freund
Date:
Subject: Re: Ryu floating point output patch