Re: UTF-8 and LIKE vs =

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: UTF-8 and LIKE vs =
Дата
Msg-id 20040824.235223.74749949.t-ishii@sra.co.jp
обсуждение исходный текст
Ответ на Re: UTF-8 and LIKE vs =  (Ian Barwick <barwick@gmail.com>)
Список pgsql-general
> > Locales for multibyte encodings are often broken on many platforms. I
> > see identical things with Japanese on Red Hat. This is one of the
> > reason why I tell Japanese PostgreSQL users not to enable locale while
> > initdb...
>
> Yep, and exporting my data, deleting the data directory, running initdb
> with --locale=C fixd the problem for me. Woot!
>
> But given what you've said, Tatsuo, it makes me wonder if it's worth it
> to use the system locale default when running initdb? Maybe it'd make
> more sense for PostgreSQL to default to C unless someone specifies
> another --locale?

You are quite right. initdb defaults to use the system locale is
evil. I have been saying this for long time...
--
Tatsuo Ishii

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

Предыдущее
От: mike
Дата:
Сообщение: Invalid input for integer on VIEW
Следующее
От: Jeff Amiel
Дата:
Сообщение: pg_stat_activity versus ps