Checking my understanding of locales

Поиск
Список
Период
Сортировка
От Tim Greenwood
Тема Checking my understanding of locales
Дата
Msg-id 7822ca810908061126t11af009eo5494c030585cb2c@mail.gmail.com
обсуждение исходный текст
Список pgsql-novice
From experimentation and reading the documentation I understand that locale settings governing the formatting of numbers and dates are only set at the server and not the client.

For example - the database is initialized in the fr_FR locale.  Starting psql under the en_US locale and executing "select to_char(1234.56,'9G999D99')" gives an output of 1 234,56 - i.e. the formatting of the server, not the client.
lking about 
I do see some English messages from psql (but also French for anything from the server).

Can a single database support clients running in different locales from it for formatting (not talking about ORDER BY here) and if so, how?

Tim

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

Предыдущее
От: Michael Wood
Дата:
Сообщение: Re: Assistance with importing a csv into a PostgreSQL database
Следующее
От: Simon GEORGES
Дата:
Сообщение: Stange behavior of sort request