Re: localization problem (and solution)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: localization problem (and solution)
Дата
Msg-id 24831.1135053123@sss.pgh.pa.us
обсуждение исходный текст
Ответ на localization problem (and solution)  (Manuel Sugawara <masm@fciencias.unam.mx>)
Ответы Re: localization problem (and solution)  (Manuel Sugawara <masm@fciencias.unam.mx>)
Список pgsql-hackers
Manuel Sugawara <masm@fciencias.unam.mx> writes:
> Some fprintf's around the regex code shows that someone is changing
> the localization parameters by those found in the enviroment, at least
> for the LC_CTYPE and LC_COLLATE categories, and plperl seems to be the
> culprit.

Indeed.  Please file a bug with the Perl people asking what right
libperl has to fool with the localization environment of its host
application.

(Your proposed fix seems entirely useless ... maybe we could fix it
by resetting the LC_FOO variables after every call to libperl, but
I bet that would break libperl instead.)
        regards, tom lane


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

Предыдущее
От: Manuel Sugawara
Дата:
Сообщение: localization problem (and solution)
Следующее
От: "Premsun Choltanwanich"
Дата:
Сообщение: Re: lo function changed in PostgreSQL 8.1.1