Re: Installation problem: failed to initialize lc_messages to "" - Mailing list pgsql-general

From Stefan Schwarzer
Subject Re: Installation problem: failed to initialize lc_messages to ""
Date
Msg-id 5C35D746-EE45-44DC-B30F-9EA60F08872C@grid.unep.ch
Whole thread Raw
In response to Re: Installation problem: failed to initialize lc_messages to ""  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Installation problem: failed to initialize lc_messages to ""
List 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.

pgsql-general by date:

Previous
From: Stefan Schwarzer
Date:
Subject: Re: Installation problem: failed to initialize lc_messages to ""
Next
From: Fernando Xavier
Date:
Subject: Format Float numbers