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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #13636: psql numericlocale adds comma where it ought not
Дата
Msg-id 21049.1443137840@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #13636: psql numericlocale adds comma where it ought not  (jeff.janes@gmail.com)
Ответы Re: BUG #13636: psql numericlocale adds comma where it ought not  (Thomas Munro <thomas.munro@enterprisedb.com>)
Список 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 по дате отправления:

Предыдущее
От: jeff.janes@gmail.com
Дата:
Сообщение: BUG #13636: psql numericlocale adds comma where it ought not
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: BUG #13636: psql numericlocale adds comma where it ought not