et_EE locale not found in debian

Started by Andrusover 17 years ago4 messagesgeneral
Jump to latest
#1Andrus
kobruleht2@hot.ee

How to create cluster with et_EE locale ?

Command below causes error.

Andrus.

mail:/var/lib/postgresql# pg_createcluster --locale=et_EE.UTF8 8.3 main
Creating new cluster (configuration: /etc/postgresql/8.3/main, data:
/var/lib/postgresql/8.3/main)...
initdb: invalid locale name "et_EE.UTF8"
initdb: invalid locale name "et_EE.UTF8"
initdb: invalid locale name "et_EE.UTF8"
initdb: invalid locale name "et_EE.UTF8"
initdb: invalid locale name "et_EE.UTF8"
initdb: invalid locale name "et_EE.UTF8"

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Andrus (#1)
Re: et_EE locale not found in debian

Andrus wrote:

How to create cluster with et_EE locale ?

You probably want et_EE. (Language and country codes are not always
consistent.)

#3Andrus
kobruleht2@hot.ee
In reply to: Peter Eisentraut (#2)
Re: et_EE locale not found in debian

Peter,

You probably want et_EE. (Language and country codes are not always
consistent.)

I don't understand this.
Command line which I posted uses et_EE
What is the exact command line ?

Andrus.

#4Peter Eisentraut
peter_e@gmx.net
In reply to: Andrus (#3)
Re: et_EE locale not found in debian

Andrus wrote:

Peter,

You probably want et_EE. (Language and country codes are not always
consistent.)

I don't understand this.
Command line which I posted uses et_EE
What is the exact command line ?

Uh, forget that.

Does locale -a show the locale you want?

If not, run dpkg-reconfigure locales.

Or install locales-all.