Re: initdb: invalid locale name "sv_SE.ISO-8859-1"

From: Ragnar <gnari(at)hive(dot)is>
To: Ragnar Österlund <ragoster(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: initdb: invalid locale name "sv_SE.ISO-8859-1"
Date: 2006-09-12 13:20:47
Message-ID: 1158067247.17224.164.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Florian Weimer 2006-09-12 13:32:17 Re: ECPG and COPY
Previous Message Sergiusz Jarczyk 2006-09-12 13:19:50 Re: off topic - web shop