Control: tags -1 confirmed Re: Dmitry E. Oboukhov 2012-05-08 <[email protected]> > Package: postgresql-9.1 > Version: 9.1.3-2 > Tags: l10n > > Since (I think) I've upgraded postgresql server upto 9.1 version I see > broken logs. The previous versions of Pg wrote logs in English. > Current version writes part of logs in Russian and part in '?' > symbols:
The problem here is that pg_ctlcluster initializes the environment from /etc/postgresql/9.1/main/environment, which is usually empty. If you don't have any LANG/LC_* settings in the environment, postgres will log any non-ascii char as ?. We should probably copy the LANG/LC_* settings from the old environment over, or put "LANG=$clusterlocale" in the enviroment files (or both). Christoph -- [email protected] | http://www.df7cb.de/ -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

