Re: Failed to initialize lc_messages 7.3b5

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Hervé Piedvache <herve(at)elma(dot)fr>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Failed to initialize lc_messages 7.3b5
Date: 2002-11-07 15:05:28
Message-ID: 19295.1036681528@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

=?iso-8859-15?q?Herv=E9=20Piedvache?= <herve(at)elma(dot)fr> writes:
> I don't know if it's important or not ... but on my linux Debian woody, with
> fr_FR(at)euro parameter when I do the initdb I've got a creating template1
> database in /usr/local/pgsql/data/base/1... Failed to initialize lc_messages
> to ''

> I just would like to know what that's mean exactly ...

It means your platform doesn't accept "fr_FR(at)euro" as a setting for
LC_MESSAGES. Since "fr_FR(at)euro" is evidently accepted as a setting for
other LC_ variables, this is a bug in the locale definition, which you
should report to the Debian folk.

Until they fix it, you can probably work around it by starting the
postmaster with LC_MESSAGES explicitly set to something different than
LANG/LC_ALL are (maybe plain "fr_FR" would work). I think you will need
to adjust lc_messages in postgresql.conf as well.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Neil Conway 2002-11-07 15:09:44 Re: [HACKERS] Database replication... - Mission Critica
Previous Message Shridhar Daithankar 2002-11-07 15:03:19 Re: [HACKERS] Database replication... - Mission Critica

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Conway 2002-11-07 15:09:44 Re: [HACKERS] Database replication... - Mission Critica
Previous Message Shridhar Daithankar 2002-11-07 15:03:19 Re: [HACKERS] Database replication... - Mission Critica