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

From: Ragnar Österlund <ragoster(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: initdb: invalid locale name "sv_SE.ISO-8859-1"
Date: 2006-09-12 07:43:31
Message-ID: 6b4c32560609120043w6be48a22l58b46e8966b81a89@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

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, as I
thought it might had been the binary installation that was not
correct, but the source installation failed the same way. I have a
locale for sv in /usr/share/locales. What on earth can it be that is
wrong?

/Ragnar

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-09-12 09:56:04 Re: initdb: invalid locale name "sv_SE.ISO-8859-1"
Previous Message Benjamin Smith 2006-09-12 05:42:17 Re: off topic - web shop