o***@hushmail.com
2015-01-21 19:29:48 UTC
Hello,
Why won't `postgresql-server-9.4.0` accept my locale? Just upgraded to 5.7 from 5.5. Whatever `postgresql-server` version was in 5.5 didn't have this problem.
% su _postgresql
% initdb -D /var/postgresql/data/
The files belonging to this database system will be owned by user "_postgresql".
This user must also own the server process.
initdb: invalid locale settings; check LANG and LC_* environment variables
`env` says `LC_ALL=en_US.UTF-8`, which according to `locale -a` does exist.
Thanks.
O.D.
Why won't `postgresql-server-9.4.0` accept my locale? Just upgraded to 5.7 from 5.5. Whatever `postgresql-server` version was in 5.5 didn't have this problem.
% su _postgresql
% initdb -D /var/postgresql/data/
The files belonging to this database system will be owned by user "_postgresql".
This user must also own the server process.
initdb: invalid locale settings; check LANG and LC_* environment variables
`env` says `LC_ALL=en_US.UTF-8`, which according to `locale -a` does exist.
Thanks.
O.D.