Re: localization problem (and solution)

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Andrew Dunstan" <andrew(at)dunslane(dot)net>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <andreas+pg(at)gate450(dot)dyndns(dot)org>, <masm(at)fciencias(dot)unam(dot)mx>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: localization problem (and solution)
Date: 2005-12-29 09:34:51
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE6C7DF5@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2005-12-29 09:43:04 Re: Removing SORTFUNC_LT/REVLT
Previous Message Magnus Hagander 2005-12-29 09:33:13 Re: localization problem (and solution)