Re: Locale problem with LC_MESSAGES

Lists: pgsql-admin
From: Marcel Gsteiger <marcel(dot)gsteiger(at)milprog(dot)ch>
To: pgsql-admin(at)postgresql(dot)org
Subject: Locale problem with LC_MESSAGES
Date: 2002-12-07 15:34:30
Message-ID: 3DF21506.2080907@milprog.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

Hi all,
I just installed cygwin/cygipc/postgresql 7.3 (i386 binary) on my W2K
box. Then I did a
initdb -W -D /cygdrive/d/apps/cygwin/usr/local/pgsql/data --locale=de_CH
--encoding=UNICODE

this seemed to work OK. Now when I try to start the postmaster, I get
the error message
invalid value for option 'LC_MESSAGES':'de_CH'

Can I supply a different LC_MESSAGES when there is none available for my
local language, but still keep the sort orderings of my locale?

I also tried locale de_DE with no change.

How can I make this to work? Does anybody have PostgreSQL 7.3 running
with german locale?
Regards
--Marcel


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Marcel Gsteiger <marcel(dot)gsteiger(at)milprog(dot)ch>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Locale problem with LC_MESSAGES
Date: 2002-12-09 00:39:01
Message-ID: Pine.LNX.4.44.0212090114210.25355-100000@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-admin

Marcel Gsteiger writes:

> I just installed cygwin/cygipc/postgresql 7.3 (i386 binary) on my W2K
> box. Then I did a
> initdb -W -D /cygdrive/d/apps/cygwin/usr/local/pgsql/data --locale=de_CH
> --encoding=UNICODE

Cygwin doesn't have locale support, so any attempts to set locales will
either be ignored or will fail.

--
Peter Eisentraut peter_e(at)gmx(dot)net