| From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
|---|---|
| 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 09:56:04 |
| Message-ID: | 20060912095604.GA16069@svana.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
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 this locale exists in /etc/locale.gen. If the name
doesn't exactly match, postgresql will complain that it doesn't know
it.
Either choose a name that is in that list, or add the one you want and
follow the instructions to rebuild the locale database.
Hope this helps,
--
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 | Purusothaman A | 2006-09-12 10:34:07 | Re: [GENERAL] Problem with lo_export() and lo_import() from remote machine. |
| Previous Message | Ragnar Österlund | 2006-09-12 07:43:31 | initdb: invalid locale name "sv_SE.ISO-8859-1" |