| From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
|---|---|
| To: | Magnus Hagander <mha(at)sollentuna(dot)net> |
| Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: more locale problems on Windows |
| Date: | 2005-12-06 22:07:17 |
| Message-ID: | 43960B95.2080006@dunslane.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Magnus Hagander wrote:
>>I set my locale to Turkish, then did initdb --no-locale.
>>pg_controldata is set up correctly, as is postgresql.conf,
>>but messages still come out in Turkish on the log file. So
>>either we aren't doing it right or my
>>(modern) libintl is hijacking some more stuff. Same result
>>for French, so it's not an anti- (or pro-) Turkish plot.
>>
>>*sigh*
>>
>>
>
>Do you have lc_messages set in initdb.conf? IIRC, you must explicitly
>set it to english or else libintl will try to guess from your OS.
>
>(And not only that, it guesses badly in many cases. For example, I have
>windows installed in english, witheverything set to english except for
>the date/time/currency format, and libintl guesses Swedish..)
>
>
>
Yes. In fact, I can't find *any* combination of environment settings,
initdb flags or lc_messages setting in postgresql.conf that appears to
make any difference.
Maybe I'll just leave it for someone who cares more than I do to solve.
cheers
andrew
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jim C. Nasby | 2005-12-06 23:01:20 | Re: [GENERAL] 8.1, OID's and plpgsql |
| Previous Message | Aly S.P Dharshi | 2005-12-06 21:37:44 | Re: Replication on the backend |