Re: initdb of regression test failed.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: initdb of regression test failed.
Дата
Msg-id 9131.1191476675@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: initdb of regression test failed.  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Ответы Re: initdb of regression test failed.  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Список pgsql-patches
ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp> writes:
> In fact, we can accept options like:
>   initdb -E UTF8 --locale=Japanese_Japan.932 -- CP932 is SJIS in nature

Hmm, but does that really work safely?  I think varstr_cmp() does work,
because it forces our data into wchar format and then calls wcscoll().
The thing that scares me is that various random other operating-system
calls might deliver strings in an unexpected encoding.  We've been
through similar problems with timezone names reported by strftime, for
example.

            regards, tom lane

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

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