Re: BUG #7664: Program using libpq and ecpglib can not output native language

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #7664: Program using libpq and ecpglib can not output native language
Дата
Msg-id 14538.1353078791@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #7664: Program using libpq and ecpglib can not output native language  (Chen Huajun <chenhj@cn.fujitsu.com>)
Ответы Re: BUG #7664: Program using libpq and ecpglib can not output native language  (Chen Huajun <chenhj@cn.fujitsu.com>)
Список pgsql-bugs
Chen Huajun <chenhj@cn.fujitsu.com> writes:
> First,does you agree with the need of native language support without writin
> "setlocale(LC_ALL, "")"in user's program is rational?

No, not particularly.  The C language standard is quite clear about
that.  Nor does it seem like a particularly great idea from a user's
standpoint for different sub-parts of a program to be operating in
different locales.  Even if I agreed with the concept, your idea of
switching locale constantly is likely to be horrid from a performance
standpoint.

            regards, tom lane

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

Предыдущее
От: Euler Taveira
Дата:
Сообщение: Re: BUG #7663: is not a bug but...
Следующее
От: Morten Minde Neergaard
Дата:
Сообщение: Re: BUG #7651: Superfluous calls to functions used for indexing