Re: LC_COLLATE problem between linux distros

From: Craig Longman <craigl(at)begeek(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: LC_COLLATE problem between linux distros
Date: 2002-10-04 05:48:49
Message-ID: 1033710530.7180.6.camel@jigra
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 2002-10-04 at 01:37, Tom Lane wrote:
> Craig Longman <craigl(at)begeek(dot)com> writes:
> > FATAL 2: The database cluster was initialized with LC_COLLATE 'en_US',
> > which is not recognized by setlocale().
> > It looks like you need to initdb.
>
> > seems pretty strange as i imagine that debian installs en_US as a locale
> > option.
>
> I'd have imagined that too, but it seems not; leastwise the error
> message is pretty definitive about what Postgres is being told by
> setlocale(). Look in /usr/share/locale/ --- is there an en_US
> subdirectory? If not, maybe you missed installing some locale RPMs?

initially, there wasn't in /use/share/locale, only:
en, en_AU, en_GB, en_RN

i created a link for en_US to en, but that didn't seem to help.

perhaps i can copy the en_US directory over from a redhat install i
have, or even duplicate the whole 'en' directory in there? i'll try
that. maybe the debian packagers simply assume that en_US is the
definitive en and doesn't need to be further qualified. this is awfully
strange.

thanks for the response!

--

CraigL->Thx();
Be Developer ID: 5852

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2002-10-04 06:04:29 Re: LC_COLLATE problem between linux distros
Previous Message Val Ventura 2002-10-04 05:40:26 speed of server side languages