>> 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.