Re: What is the effect of locale on numbers?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: What is the effect of locale on numbers?
Дата
Msg-id 3029.1285082152@sss.pgh.pa.us
обсуждение исходный текст
Ответ на What is the effect of locale on numbers?  (A B <gentosaker@gmail.com>)
Список pgsql-general
A B <gentosaker@gmail.com> writes:
> I use swedish locale

> show lc_numeric;
>  lc_numeric
> -------------
>  sv_SE.UTF-8

> and I get a . (dot) in all floating-point numbers.

The regular output of numbers is intentionally not locale-aware.
You can use to_char() to obtain locale-specific formats.

            regards, tom lane

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

Предыдущее
От: Henri De Feraudy
Дата:
Сообщение: trying to use libpq in Ubuntu
Следующее
От: "Daniel Verite"
Дата:
Сообщение: Re: trying to use libpq in Ubuntu