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

2006-09-14 Thread Ragnar Österlund
Thanks for the advice, I tried to install the "language-packs" that ubuntu supports. I can no initialize a se_SV.utf8 cluster, but it seems there is no support form latin1. Best whishes /Ragnar ---(end of broadcast)--- TIP 6: explain analyze is yo

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

2006-09-12 Thread Martijn van Oosterhout
On Tue, Sep 12, 2006 at 10:05:33AM -0400, Tom Lane wrote: > > Check whether this locale exists in /etc/locale.gen. If the name > > doesn't exactly match, postgresql will complain that it doesn't know > > it. > > I think the more portable way to discover what locale names the OS > knows is "locale

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

2006-09-12 Thread Tom Lane
Martijn van Oosterhout writes: > On Tue, Sep 12, 2006 at 09:43:31AM +0200, Ragnar =D6sterlund wrote: >> I get the error: >> initdb: invalid locale name "sv_SE.ISO-8859-1" > Check whether this locale exists in /etc/locale.gen. If the name > doesn't exactly match, postgresql will complain that it d

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

2006-09-12 Thread Ivan Sergio Borgonovo
On Tue, 12 Sep 2006 13:20:47 + Ragnar <[EMAIL PROTECTED]> wrote: > > 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 I'v

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

2006-09-12 Thread Ragnar
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 f

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

2006-09-12 Thread Martijn van Oosterhout
On Tue, Sep 12, 2006 at 09:43:31AM +0200, Ragnar Österlund wrote: > 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" Check whether th

Re: [GENERAL] initdb: invalid locale name

2006-01-03 Thread Arnaud Lesauvage
Arnaud Lesauvage wrote: >> Hi all ! >> >> I am trying to install PostGreSQL 8.1.1 on my WinXP Pro. >> I am using the latest installer from >> http://www.postgresql.org/ftp/binary/v8.1.1/win32/. >> >> Here is my problem : >> If I setup PostGreSQL to use the default data directory and my >> languag