Обсуждение: change Log language

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

change Log language

От
fernando violante
Дата:

Hi,

I need to change the language of the log from Spanish to English, , but I understand that this change drop tables database .

 

Is there a mechanism to make this change without losing data?

 

Thank you in advance

 

Fer

 



Re: change Log language

От
Tom Lane
Дата:
fernando violante <fer_violante@live.com> writes:
> I need to change the language of the log from Spanish to English, , but I understand that this change drop tables
database. 

Uh ... no.  All you need to do is change lc_messages, eg like

alter system set lc_messages to 'en_US';

and "pg_ctl reload".

            regards, tom lane