server error messages language

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

server error messages language

От:
dima <_pppp@mail.ru>
Дата:
can the server error messages language be changed somehow without 
remaking it from the sources? the software catches english error 
messages for now & handles them well, but the freshly installed from rpm 
postgres returns error messages in russian & this causes software errors.


Re: server error messages language

От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
dima writes:

> can the server error messages language be changed somehow without
> remaking it from the sources? the software catches english error
> messages for now & handles them well, but the freshly installed from rpm
> postgres returns error messages in russian & this causes software errors.

export LC_MESSAGES=C

in your server's environment.

There's a full description of this in the Administrator's Guide.

-- 
Peter Eisentraut   peter_e@gmx.net


Re: server error messages language

От:
"Serguei A. Mokhov" <sa_mokho@alcor.concordia.ca>
Дата:


On Wed, 25 Sep 2002, dima wrote:

> Date: Wed, 25 Sep 2002 18:56:28 +0400
> From: dima <_pppp@mail.ru>
> To: pgsql-admin 
> Subject: [ADMIN] server error messages language
>
> can the server error messages language be changed somehow without
> remaking it from the sources?

Change your default locale for the postgres user from ru_RU to en_US?

-s


FAQ