Обсуждение: BUG #4529: lc_messages in config ignored

Поиск
Список
Период
Сортировка

BUG #4529: lc_messages in config ignored

От
"pro"
Дата:
The following bug has been logged online:

Bug reference:      4529
Logged by:          pro
Email address:      proler@gmail.com
PostgreSQL version: 8.3.*
Operating system:   windows xp sp2 eng + rus mui
Description:        lc_messages in config ignored
Details:

messages always in russian language in 8.3.4 and 8.3.5 - utf, cp1251 on
earlier versions.
but i want english.
postgres ignore any definitions:
lc_messages = 'C'
or
lc_messages = 'english.english'

in freebsd i have no this bug.

Re: BUG #4529: lc_messages in config ignored

От
Rainer Bauer
Дата:
"pro" wrote:

>The following bug has been logged online:
>
>Bug reference:      4529
>Logged by:          pro
>Email address:      proler@gmail.com
>PostgreSQL version: 8.3.*
>Operating system:   windows xp sp2 eng + rus mui
>Description:        lc_messages in config ignored
>Details:
>
>messages always in russian language in 8.3.4 and 8.3.5 - utf, cp1251 on
>earlier versions.
>but i want english.
>postgres ignore any definitions:
>lc_messages = 'C'
>or
>lc_messages = 'english.english'
>
>in freebsd i have no this bug.

I have reported this bug about a month ago:
<http://archives.postgresql.org/pgsql-bugs/2008-10/msg00026.php> but never got
any response.

Rainer

Re: BUG #4529: lc_messages in config ignored

От
Bruce Momjian
Дата:
Rainer Bauer wrote:
> "pro" wrote:
>
> >The following bug has been logged online:
> >
> >Bug reference:      4529
> >Logged by:          pro
> >Email address:      proler@gmail.com
> >PostgreSQL version: 8.3.*
> >Operating system:   windows xp sp2 eng + rus mui
> >Description:        lc_messages in config ignored
> >Details:
> >
> >messages always in russian language in 8.3.4 and 8.3.5 - utf, cp1251 on
> >earlier versions.
> >but i want english.
> >postgres ignore any definitions:
> >lc_messages = 'C'
> >or
> >lc_messages = 'english.english'
> >
> >in freebsd i have no this bug.
>
> I have reported this bug about a month ago:
> <http://archives.postgresql.org/pgsql-bugs/2008-10/msg00026.php> but never got
> any response.

Yep, we know it is a bug but haven't found a fix yet.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

Re: BUG #4529: lc_messages in config ignored

От
Rainer Bauer
Дата:
Hello Bruce,

Thursday, November 20, 2008, 3:20:42 PM, you wrote:
BM> Rainer Bauer wrote:
>> I have reported this bug about a month ago:
>> <http://archives.postgresql.org/pgsql-bugs/2008-10/msg00026.php> but never got
>> any response.

BM> Yep, we know it is a bug but haven't found a fix yet.

Thanks, at least I know now that the first bug report did not vanish
somewhere.

What I did here was renaming the "de" directory in
C:\Program Files\PostgreSQL\8.3\share\locale
Now I have at least the English message texts (though the LC_NUMERIC
problem is still present).

"pro", you might want to rename the "ru" subdirectory. After
restarting the server all messages should be in English.

Rainer