From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Christopher Gernon <kabigon@gmail.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6217: to_char() gives incorrect output for very small float values
Date: Tue, 20 Sep 2011 14:43:21 -0500
Message-ID: <4E78A6890200002500041430@gw.wicourts.gov> (raw)
In-Reply-To: <12259.1316545519@sss.pgh.pa.us>
References: <201109201717.p8KHHlZU087195@wwwmaster.postgresql.org>
<4E78899D020000250004140B@gw.wicourts.gov>
<CAKwX5KiRDRkWKwvPq5XQy43_LdF+1CR51vzGy9MmbVikmYORew@mail.gmail.com>
<4E789528020000250004141A@gw.wicourts.gov>
<4E789528020000250004141A@gw.wicourts.gov>
<12259.1316545519@sss.pgh.pa.us>
Tom Lane <tgl@sss.pgh.pa.us> wrote:
> "Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
>> Christopher Gernon <kabigon@gmail.com> wrote:
>>> to_char() should be able to convert 5.6e-32 to text just as
>>> easily as it can convert 5.6e-3. For some reason, it doesn't.
>
>> Oh, I see your point now, and I agree with you.
>
>> We should probably at least put this on the TODO list, I think.
>> Any objections?
>
> If we're gonna fix it, we should just fix it, I think. I was
> considering taking a stab at it, but if someone else would like
> to, that's fine too.
I wouldn't mind doing it, but not until after the CF wraps. On the
other hand, isn't this is one of those compatibility functions?
Perhaps it would best be done by someone who has familiarity with,
and access to, a database with which we're trying to be compatible.
-Kevin
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: Kevin.Grittner@wicourts.gov, tgl@sss.pgh.pa.us, kabigon@gmail.com
Subject: Re: BUG #6217: to_char() gives incorrect output for very small float values
In-Reply-To: <4E78A6890200002500041430@gw.wicourts.gov>
References: <201109201717.p8KHHlZU087195@wwwmaster.postgresql.org> <4E78899D020000250004140B@gw.wicourts.gov> <CAKwX5KiRDRkWKwvPq5XQy43_LdF+1CR51vzGy9MmbVikmYORew@mail.gmail.com> <4E789528020000250004141A@gw.wicourts.gov> <12259.1316545519@sss.pgh.pa.us> <4E78A6890200002500041430@gw.wicourts.gov>
* 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