Re: Installation problem: failed to initialize lc_messages to ""

From: Stefan Schwarzer <stefan(dot)schwarzer(at)grid(dot)unep(dot)ch>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Installation problem: failed to initialize lc_messages to ""
Date: 2008-01-10 12:30:04
Message-ID: 5C35D746-EE45-44DC-B30F-9EA60F08872C@grid.unep.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

>> FATAL: XX000: failed to initialize lc_messages to ""
>> LOCATION: InitializeGUCOptions, guc.c:2666
>
> Typically what this means is that you have an improper setting of LANG
> or LC_ALL in your environment ("improper" meaning that it doesn't
> match
> any of the locales that are actually installed on your system). You
> can use "locale -a" to find out what's installed.

I tried this:

/usr/local/pgsql/bin/initdb -D --locale=en_US.UTF-8 /Users/schwarzer/
Documents/data_postgres

but still the same message.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Fernando Xavier 2008-01-10 13:03:05 Format Float numbers
Previous Message Stefan Schwarzer 2008-01-10 12:23:54 Re: Installation problem: failed to initialize lc_messages to ""