Re: Ryu floating point output patch
Andrew Gierth <andrew@tao11.riddles.org.uk>
From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Donald Dong <xdong@csumb.edu>
Cc: Andres Freund <andres@anarazel.de>, Tom Lane <tgl@sss.pgh.pa.us>,
Robert Haas <robertmhaas@gmail.com>, Chapman Flack <chap@anastigmatix.net>,
"pgsql-hackers\@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2019-01-17T05:29:59Z
Lists: pgsql-hackers
>>>>> "Donald" == Donald Dong <xdong@csumb.edu> writes: Donald> Hi, Donald> I'm trying to reproduce the results by calling float4in in my Donald> test code. But I have some difficulties linking the code: Donald> testfloat4.c:(.text+0x34): undefined reference to `float4in' Donald> testfloat4.c:(.text+0x3c): undefined reference to `DirectFunctionCall1Coll' The way you're doing that isn't really a good way to test it - those other programs being built by that rule are all frontend code, whereas float4in is a backend function. If you want to add your own test it, you could do a loadable module for it, or just do tests from SQL. -- 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