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

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: initdb: invalid locale name "sv_SE.ISO-8859-1"
Дата
Msg-id 20060912095604.GA16069@svana.org
обсуждение исходный текст
Ответ на initdb: invalid locale name "sv_SE.ISO-8859-1"  ("Ragnar Österlund" <ragoster@gmail.com>)
Ответы Re: initdb: invalid locale name "sv_SE.ISO-8859-1"  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: "Ragnar Österlund"
Дата:
Сообщение: initdb: invalid locale name "sv_SE.ISO-8859-1"
Следующее
От: "Purusothaman A"
Дата:
Сообщение: Re: [ADMIN] Problem with lo_export() and lo_import() from remote machine.