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

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: BUG #13636: psql numericlocale adds comma where it ought not
Дата
Msg-id CAEepm=1nTC__rwR78OE5NRW_AK4XYU6RsQxwxRv7m16=C5mUsg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #13636: psql numericlocale adds comma where it ought not  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: BUG #13636: psql numericlocale adds comma where it ought not  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Fri, Sep 25, 2015 at 11:37 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> 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 ...

Does this look reasonable?

--
Thomas Munro
http://www.enterprisedb.com

Вложения

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #13636: psql numericlocale adds comma where it ought not
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #13636: psql numericlocale adds comma where it ought not