Skip site navigation (1) Skip section navigation (2)

Re: BUG #4186: set lc_messages does not work

From: "Thomas H(dot)" <me(at)alternize(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4186: set lc_messages does not work
Date: 2008-05-29 01:05:23
Message-ID: 483E0153.3070200@alternize.com (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-hackers
From: Thomas H. <me(at)alternize(dot)com>
> what i noticed: if i delete the folder share/locale/de/ the system 
> messages are back to english - but that can't be THE solution, can it? :)

well, it actually was the solution, at least to the weird part of the 
problem:

there are two versions of win32 binaries available on postgres.org. 
there's the installer msi version, and there is the installerless zip 
version.

the installer version does NOT install the folder "share/locale/"! so 
when using the msi installer, postgres has no translations at all - thus 
the fallback to english.

the zipped version contains the "share/locale/" folder. for installing 
8.3.0, i've been using the msi installer version. for upgrading to 
8.3.1, i've been unpacking the files from zip version into the 
postgresql directory...

i've just verified that the 8.3.1 msi version provided on postgres.org 
also does NOT contain the "locale" folder & files. should i report this 
as a separate bug/problem?

so at least that explains the "changed" behaviour. nevertheless, 
LC_MESSAGES seems to be defunct - with the "locale" folder present, pg 
always picks the os' language and ignores the lc_message value.

- thomas


In response to

Responses

pgsql-hackers by date

Next:From: Greg SmithDate: 2008-05-29 01:12:40
Subject: Re: Catching exceptions from COPY
Previous:From: Thomas H.Date: 2008-05-29 00:50:50
Subject: Re: BUG #4186: set lc_messages does not work

pgsql-bugs by date

Next:From: Simon RiggsDate: 2008-05-29 05:41:44
Subject: Re: BUG #4204: COPY to table with FK has memory leak
Previous:From: Thomas H.Date: 2008-05-29 00:50:50
Subject: Re: BUG #4186: set lc_messages does not work

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group