Re: BUG #13636: psql numericlocale adds comma where it ought not

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: jeff(dot)janes(at)gmail(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #13636: psql numericlocale adds comma where it ought not
Date: 2015-09-24 23:37:20
Message-ID: 21049.1443137840@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

jeff(dot)janes(at)gmail(dot)com writes:
> \pset numericlocale on
> select 1000000::real;
> float4
> --------
> 1e,+06
> (1 row)

> There should not be a comma added between e and +.

Indeed. It looks like the author of format_numeric_locale() never
heard of e-format output. There's some other pretty crummy code in
there, but that's the core problem ...

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Thomas Munro 2015-09-24 23:46:42 Re: BUG #13636: psql numericlocale adds comma where it ought not
Previous Message jeff.janes 2015-09-24 20:25:45 BUG #13636: psql numericlocale adds comma where it ought not