| От | 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.
|
| Список | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера