Thread: server error messages language

server error messages language

From
dima
Date:
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

From
Peter Eisentraut
Date:
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

From
"Serguei A. Mokhov"
Date:

On Wed, 25 Sep 2002, dima wrote:

> Date: Wed, 25 Sep 2002 18:56:28 +0400
> From: dima <_pppp@mail.ru>
> To: pgsql-admin <pgsql-admin@postgresql.org>
> 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