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