Re: Ryu floating point output patch
Andrew Gierth <andrew@tao11.riddles.org.uk>
From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgresql.org
Date: 2018-12-13T20:53:23Z
Lists: pgsql-hackers
>>>>> "Andres" == Andres Freund <andres@anarazel.de> writes: >> This code in particular was very heavily into using mixed >> declarations and code throughout. Removing those was moderately >> painful. Andres> I wonder if we should instead relax those restriction for the Andres> largely foreign pieces of code? Do we have any reason for the restriction beyond stylistic preference? Andres> Right it should definitely be explained. But I do think Andres> pointing at the source, would be good. I kind of wonder if we Andres> should, if we were to accept something like this patch, clone Andres> the original ryu repository to either git.pg.org, or at least Andres> into pg's github repository? It'd be annoying if the original Andres> authors moved on and deleted the repository. Keeping a copy on git.pg.org seems like a reasonable thing to do. -- Andrew (irc:RhodiumToad)
Commits
-
Provide an extra-float-digits setting for pg_dump / pg_dumpall
- af25bc03e17e 12.0 landed
-
Change floating-point output format for improved performance.
- 02ddd499322a 12.0 landed
-
Use strtof() and not strtod() for float4 input.
- f397e08599a3 12.0 landed