Re: Ryu floating point output patch

From: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>
To: "pgsql-hackers\(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Cc: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, Donald Dong <xdong(at)csumb(dot)edu>, Andres Freund <andres(at)anarazel(dot)de>, Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Chapman Flack <chap(at)anastigmatix(dot)net>
Subject: Re: Ryu floating point output patch
Date: 2019-02-01 19:01:49
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Latest patch.

No semantic changes; fixes postgresql.conf.sample and adds docs.

In the absence of feedback to the contrary, I've documented the current
behavior of extra_float_digits. I've also removed language from the docs
regarding non-IEEE float formats, and made it clear that all supported
platforms now use IEEE format (whether or not they implement the actual
arithmetic correctly).

I thought of what might be a good reason to leave float->numeric
conversions alone: since they're currently immutable (unlike float
output), they might appear in indexes, and pg_upgrade would have to cope
with that. I'm therefore going to consider float to numeric conversion
as being an issue for a separate patch if at all, rather than part of
this one.

Andrew (irc:RhodiumToad)

Attachment Content-Type Size
ryu8.patch text/x-patch 291.9 KB

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Jesper Pedersen 2019-02-01 19:14:27 Re: pg_upgrade: Pass -j down to vacuumdb
Previous Message Justin Pryzby 2019-02-01 18:08:11 Re: dsa_allocate() faliure