Re: lc_collate issue

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: lc_collate issue
Дата
Msg-id 24663.1188004715@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: lc_collate issue  (Cody Pisto <cpisto@rvweb.com>)
Ответы Re: lc_collate issue
Список pgsql-general
Cody Pisto <cpisto@rvweb.com> writes:
> If initdb was done with a C locale, and thus lc_collate and friends
> where all C, but the database and client encoding was set to UTF-8,
> would postgres convert data on the fly from UTF-8(storage) to ASCII for
> sorting or would things just blow up when a >1 byte character hit the mix?

No, C locale just sorts the bytes.  It won't "blow up".  Whether it will
give you a sort ordering you like for multibyte characters is a
different question.

            regards, tom lane

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

Предыдущее
От: "Phoenix Kiula"
Дата:
Сообщение: Re: Can tsearch do some basic text mining
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: [PERFORM] Partioning tsearch2 a table into chunks and accessing via views