Re: Ryu floating point output patch
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: pgsql-hackers@postgresql.org
Date: 2018-12-13T21:00:12Z
Lists: pgsql-hackers
Hi, On 2018-12-13 20:53:23 +0000, Andrew Gierth wrote: > >>>>> "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? No. Robert and Tom were against allowing mixing declarations and code, a few more against // comments. I don't quite agree with either, but getting to the rest of C99 seemed more important than fighting those out at that moment. Greetings, Andres Freund
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