Re: BUG #13636: psql numericlocale adds comma where it ought not - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #13636: psql numericlocale adds comma where it ought not
Date
Msg-id 21049.1443137840@sss.pgh.pa.us
Whole thread Raw
In response to BUG #13636: psql numericlocale adds comma where it ought not  (jeff.janes@gmail.com)
Responses Re: BUG #13636: psql numericlocale adds comma where it ought not  (Thomas Munro <thomas.munro@enterprisedb.com>)
List pgsql-bugs
jeff.janes@gmail.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

pgsql-bugs by date:

Previous
From: jeff.janes@gmail.com
Date:
Subject: BUG #13636: psql numericlocale adds comma where it ought not
Next
From: Thomas Munro
Date:
Subject: Re: BUG #13636: psql numericlocale adds comma where it ought not