Re: localization problem (and solution) - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: localization problem (and solution)
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE6C7DF5@algol.sollentuna.se
Whole thread Raw
In response to localization problem (and solution)  (Manuel Sugawara <masm@fciencias.unam.mx>)
List pgsql-hackers
> > The issue is that if I set my machine's locale to Turkish
> or French,
> > say, it doesn't matter what locale I set during initdb or in
> > postgresql.conf, the server's log messages always seem to
> come out in
> > the machine's locale.
>
> Does this happen only for those locales? And how specifically
> do you set the locale?
>
> I just installed to verify, and my server goes up in english
> no problem, even though my locale is set to swedish. The
> client tools (psql, for
> example) come up in swedish, so it's definitly swedish
> locale. And by donig "set LANG=en" before I start psql, it
> comes up in english just fine.

I should probably say this is 8.1.1, not cvs head, but I don't recall
any changes around this.

//Magnus


pgsql-hackers by date:

Previous
From: "Magnus Hagander"
Date:
Subject: Re: localization problem (and solution)
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Removing SORTFUNC_LT/REVLT