From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-hackers@lists.postgresql.org
Subject: Make Windows print float exponents like everybody else?
Date: Tue, 09 Oct 2018 18:00:54 -0400
Message-ID: <2934.1539122454@sss.pgh.pa.us> (raw)
I can't believe I got no comments about this, so reposting it under
a more attention-getting title ...
In https://www.postgresql.org/message-id/29037.1539021687@sss.pgh.pa.us
I wrote:
> Also, we have quite a few variant expected-files that exist only to cater
> for Windows' habit of printing three exponent digits where everybody else
> prints just two. It struck me that it would not be hard, or expensive,
> to undo that choice in snprintf.c (see attached untested patch). So we
> could considerably reduce future maintenance pain for the affected tests
> by getting rid of those files.
>
> As against that, Windows users might possibly complain that float output
> looks different than they're used to. I'm not sure how much sympathy
> I have for that position. If we reimplement float output for more speed,
> as is under discussion in nearby threads, I doubt we'd trouble to preserve
> this Windows-ism in the rewrite.
>
> Comments?
If I don't get any pushback I'm going to go do that...
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, pgsql-hackers@lists.postgresql.org
Subject: Re: Make Windows print float exponents like everybody else?
In-Reply-To: <2934.1539122454@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox