Re: initdb of regression test failed.

Поиск
Список
Период
Сортировка
От ITAGAKI Takahiro
Тема Re: initdb of regression test failed.
Дата
Msg-id 20071003115649.261B.ITAGAKI.TAKAHIRO@oss.ntt.co.jp
обсуждение исходный текст
Ответ на Re: initdb of regression test failed.  ("Hiroshi Saito" <z-saito@guitar.ocn.ne.jp>)
Список pgsql-patches
"Hiroshi Saito" <z-saito@guitar.ocn.ne.jp> wrote:

> The database cluster will be initialized with locale Japanese_Japan.932.
> initdb: locale Japanese_Japan.932 requires unsupported encoding SJIS
> Encoding SJIS is not allowed as a server-side encoding.
> -
> I think that the check of this server side is the right action.!
> I desire the further suggestion....

How about changing initdb to use encoding=UTF-8 and no-locale when the
encoding of default locale is not suppoted in the server? I think it is
the most frequently used combination when we cannot use the default
encoding in server.

The present initdb without options always fails in such environments.
Using UTF-8 with no-locale is better than error.
(Error is better than using wrong locale, though.)

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center



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

Предыдущее
От: ITAGAKI Takahiro
Дата:
Сообщение: ecpg DllMain fix
Следующее
От: "Hiroshi Saito"
Дата:
Сообщение: Re: initdb of regression test failed.