On Sat, Nov 7, 2015 at 1:15 PM, bluesun08 <nans_na...@yahoo.de> wrote:
> Thank you. I try in /etc/login.conf:
>
> postgres:\
>         :lang=de_DE.UTF-8:\
>         :setenv=LC_COLLATE=de_DE.UTF-8:\
>         :tc=default:
>
> After the command "initdb  --lc-collate=de_DE.UTF-8 -D /var/postgresql/data"
> i get the following error message:
>
> The files belonging to this database system will be owned by user
> "_postgresql".
> This user must also own the server process.
>
> initdb: invalid locale name "de_DE.UTF-8"
> initdb: invalid locale name ""
> initdb: invalid locale name ""
> initdb: invalid locale name ""
...
> But i need the COLLATE "de_DE.UTF-8" and get "invalid locale name
> "de_DE.UTF-8" "
>
> What is the problem here and how can i fix this?

I'm confused: you said you need that setting but you hadn't actually
verified that it solves your real problem?  I think you skipped a step
in there: what is the *real* problem you're trying to solve?


Philip Guenther

Reply via email to