Re: initdb: invalid locale name "sv_SE.ISO-8859-1" - Mailing list pgsql-general

From Ragnar
Subject Re: initdb: invalid locale name "sv_SE.ISO-8859-1"
Date
Msg-id 1158067247.17224.164.camel@localhost.localdomain
Whole thread Raw
In response to initdb: invalid locale name "sv_SE.ISO-8859-1"  ("Ragnar Österlund" <ragoster@gmail.com>)
Responses Re: initdb: invalid locale name "sv_SE.ISO-8859-1"  (Ivan Sergio Borgonovo <mail@webthatworks.it>)
List pgsql-general
On þri, 2006-09-12 at 09:43 +0200, Ragnar Österlund wrote:

> When I try to initialize a new cluster like this:
>
> /usr/lib/postgresql/8.1/bin/initdb --locale=sv_SE.ISO-8859-1 -D sv_SE_data/
>
> I get the error:
>
> initdb: invalid locale name "sv_SE.ISO-8859-1"
>
> This is on Ubuntu that it fails. It works fine on my slackware
> installation. I tried compile postgresql from source on ubuntu,

I think that nowadays Ubuntu does only create UFT-8
locales.

try man locale-gen

gnari





pgsql-general by date:

Previous
From: Simon_Kelly@moh.govt.nz
Date:
Subject: Re: Superuser lost access to particular database
Next
From: Sergiusz Jarczyk
Date:
Subject: Re: off topic - web shop