Re: How to create database with default system locale is set to et_EE.UTF-8

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: "Andrus" <kobruleht2(at)hot(dot)ee>
Cc: Bèrto ëd Sèra <berto(dot)d(dot)sera(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: How to create database with default system locale is set to et_EE.UTF-8
Date: 2011-12-23 15:20:36
Message-ID: 201112230720.36864.adrian.klaver@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thursday, December 22, 2011 1:22:39 pm Andrus wrote:
> > Actually the interesting part would be what locale
>
> locale
> LANG=et_EE.UTF-8
> LC_CTYPE="et_EE.UTF-8"
> LC_NUMERIC="et_EE.UTF-8"
> LC_TIME="et_EE.UTF-8"
> LC_COLLATE="et_EE.UTF-8"
> LC_MONETARY="et_EE.UTF-8"
> LC_MESSAGES="et_EE.UTF-8"
> LC_PAPER="et_EE.UTF-8"
> LC_NAME="et_EE.UTF-8"
> LC_ADDRESS="et_EE.UTF-8"
> LC_TELEPHONE="et_EE.UTF-8"
> LC_MEASUREMENT="et_EE.UTF-8"
> LC_IDENTIFICATION="et_EE.UTF-8"
> LC_ALL=
>
> > and locale -a show after the above:)?
>
> locale -a
> C
> en_US.utf8
> et_EE.utf8
> POSIX

Would seem to be one of two things:
1) The initdb is being done before the locale is changed.
or
2) The installation is overriding the locale, though I find this one less
possible than 1.

>
> Andrus.

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 2011-12-23 15:23:16 Re: How to create database with default system locale is set to et_EE.UTF-8
Previous Message Tom Lane 2011-12-23 15:00:13 Re: Initdb fails on openwrt in "creating template1 database"