From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Ragnar Österlund <ragoster(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: initdb: invalid locale name "sv_SE.ISO-8859-1" |
Date: | 2006-09-12 15:15:55 |
Message-ID: | 20060912151555.GE16069@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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 -a" ... /etc/locale.gen doesn't exist on my machines.
Debian and Ubuntu stopped shipping complete locale databases a long
time ago, it was way too large for a base system (>50MB IIRC). So
there's now a file where you list the locales you want and it creates a
database with just that.
> FWIW, on the machines I have access to, "sv_SE.iso88591" seems to be the
> standard spelling for this locale name; for instance on Fedora Core 5
locale... standard spelling... Heh, this is one area where "standard"
doesn't mean very much.
Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Sullivan | 2006-09-12 15:36:17 | Re: Child program using parent program's transaction? |
Previous Message | Tom Lane | 2006-09-12 14:05:33 | Re: initdb: invalid locale name "sv_SE.ISO-8859-1" |