Re: initdb of regression test failed.

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

> Ah Ok, Please check it.

Your patch looks useful to prevent mismatch of encoding and locale on Windows,
but I found there is a limitation that user will not able to specify locale.
I added an alternative of nl_langinfo(CODESET) for Win32.

Please check following commands:
 initdb --encoding=EUC_jp --locale=Japanese_Japan.932
   vs.
 initdb --encoding=EUC_jp --locale=Japanese_Japan.20932


One problem is that user need to know codepage numbers. It might
be possible to replace the default codepage to server encodings
automatically if we have a mapping table from encoding to codepage.

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


Вложения

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

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