Re: [PATCHES] thousands comma numeric formatting in psql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCHES] thousands comma numeric formatting in psql
Дата
Msg-id 19674.1121182372@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCHES] thousands comma numeric formatting in psql  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [PATCHES] thousands comma numeric formatting in psql  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> This patch sounds quite a lot different from what I thought we had
>> agreed to, which was a way to specify that the client-side LC_NUMERIC
>> locale settings should be used for formatting numbers.  I think the only
>> pset should be "locale on" or "locale not on".  This business about
>> space is a red herring: if you want that, create a locale spec that
>> specifies it.

> Well, how many people have langinfo?  I don't.

What's langinfo got to do with it?  To minimize our portability
exposure, the patch should use the same facilities that
src/backend/utils/adt/pg_locale.c already depends on, namely
setlocale() and localeconv().
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] thousands comma numeric formatting in psql
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] thousands comma numeric formatting in psql